Mercurial > octave
diff 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 |
line wrap: on
line diff
--- a/doc/interpreter/package.txi Thu Apr 14 10:27:07 2016 +1000 +++ b/doc/interpreter/package.txi Sun Apr 10 23:00:07 2016 +0100 @@ -386,13 +386,6 @@ @item Url Optional list of homepages related to the package. -@item Autoload -Optional field that sets the default loading behavior for the package. -If set to @code{yes}, @code{true} or @code{on}, then Octave will -automatically load the package when starting. Otherwise the package -must be manually loaded with the pkg load command. This default -behavior can be overridden when the package is installed. - @item Depends A list of other Octave packages that this package depends on. This can include dependencies on particular versions, with a format