Mercurial > octave
comparison doc/interpreter/package.txi @ 21624:cf227735d5fd
pkg: remove support for autoload (automatically loading package at start).
* pkg.m, pkg/private/install.m, pkg/private/load_packages.m,
pkg/private/rebuild.m: remove support for automatically loading packages.
Having octave itself and the package manager automatically load packages
is a bad idea. If a user wants to load a package at startup then it should
specify it on its octaverc file. This can also be done on the system-wide
octaverc file. This also simplifies pkg (this patch only removes code).
* startup/version-rcfile: do not run 'pkg ("load", "auto")' at startup.
* doc/interpreter/package.txi: remove mention of package autoload from the
manual.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sun, 10 Apr 2016 23:00:07 +0100 |
parents | 4197fc428c7d |
children | bac0d6f07a3e |
comparison
equal
deleted
inserted
replaced
21623:555b6c78d677 | 21624:cf227735d5fd |
---|---|
384 Optional list of known problems. | 384 Optional list of known problems. |
385 | 385 |
386 @item Url | 386 @item Url |
387 Optional list of homepages related to the package. | 387 Optional list of homepages related to the package. |
388 | 388 |
389 @item Autoload | |
390 Optional field that sets the default loading behavior for the package. | |
391 If set to @code{yes}, @code{true} or @code{on}, then Octave will | |
392 automatically load the package when starting. Otherwise the package | |
393 must be manually loaded with the pkg load command. This default | |
394 behavior can be overridden when the package is installed. | |
395 | |
396 @item Depends | 389 @item Depends |
397 A list of other Octave packages that this package depends on. This can | 390 A list of other Octave packages that this package depends on. This can |
398 include dependencies on particular versions, with a format | 391 include dependencies on particular versions, with a format |
399 | 392 |
400 @example | 393 @example |