]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/package.el: New quickstart feature
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 26 Mar 2018 13:41:30 +0000 (09:41 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 26 Mar 2018 13:41:30 +0000 (09:41 -0400)
commit6dfdf0c9e8e4aca77b148db8d009c862389c64d3
treea400cdf3efa473bbf0b39218fbce9bfa61d92aee
parentb300052fb4ef1261519b0fd57f5eb186c2d10295
* lisp/emacs-lisp/package.el: New quickstart feature

(package--quickstart-pkgs): New var.
(package-activate-1): Obey and fill it.
(package-activate-all): New function.
(package-initialize): Call it.
Set package-initialized before activating the packages.
(package-installed-p): Make it work before package.el is initialized in
the case where min-version is not specified.
(package-install, package-delete): Refresh the quickstart if applicable.
(package-quickstart, package-quickstart-file): New vars.
(package--quickstart-maybe-refresh, package-quickstart-refresh):
New functions.

* lisp/startup.el (command-line): Use package-activate-all rather than
package-initialize.

* doc/lispref/package.texi (Packaging Basics):
* doc/emacs/package.texi (Package Installation):
* doc/lispref/os.texi (Startup Summary): Refer to package-activate-all.
doc/emacs/custom.texi
doc/emacs/package.texi
doc/lispref/os.texi
doc/lispref/package.texi
etc/NEWS
lisp/emacs-lisp/package.el
lisp/files.el
lisp/startup.el