]> git.eshelyaron.com Git - emacs.git/commit
Various follow-ups for early init file changes
authorRadon Rosborough <radon.neon@gmail.com>
Sat, 3 Mar 2018 05:06:53 +0000 (21:06 -0800)
committerEli Zaretskii <eliz@gnu.org>
Mon, 19 Mar 2018 08:44:40 +0000 (10:44 +0200)
commit2db57579b08ac99c464b6d3698648b3167fc5d55
treed13a814f944a13cfea43c25e7310befc800f342f
parent667cdf421ff64b1fe736f75e8a7f8864de1b5026
Various follow-ups for early init file changes

* doc/emacs/custom.texi (Early Init File): Add more details about
which variables must be set in the early init file rather than the
regular init file.  See
https://lists.nongnu.org/archive/html/bug-gnu-emacs/2018-02/msg00827.html

* lisp/emacs-lisp/package.el (package-enable-at-startup): Update
docstring to note that packages are now made available before loading
the init file, rather than afterwards.  See
https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00632.html
(package-load-list): Refer to "making available" rather than "loading"
for packages.  See
https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00298.html

* lisp/startup.el (command-line): Call `custom-reevaluate-setting' on
predefined variables before loading the early init file and before
`package-initialize' is called.  This prevents
`Info-default-directory-list' from being unbound when
`package-initialize' tries to access it during startup.  See
https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00545.html

* lisp/emacs-lisp/package.el (package-initialize): Issue a warning
if called twice.
See: https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00626.html
     https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00301.html
doc/emacs/custom.texi
lisp/emacs-lisp/package.el
lisp/startup.el