diff options
| author | Radon Rosborough | 2018-03-02 21:06:53 -0800 |
|---|---|---|
| committer | Eli Zaretskii | 2018-03-19 10:44:40 +0200 |
| commit | 2db57579b08ac99c464b6d3698648b3167fc5d55 (patch) | |
| tree | d13a814f944a13cfea43c25e7310befc800f342f /doc | |
| parent | 667cdf421ff64b1fe736f75e8a7f8864de1b5026 (diff) | |
| download | emacs-2db57579b08ac99c464b6d3698648b3167fc5d55.tar.gz emacs-2db57579b08ac99c464b6d3698648b3167fc5d55.zip | |
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
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/custom.texi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index be73d7a289a..a69888cdbd6 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -2607,9 +2607,13 @@ desirable to have customizations that take effect during Emacs startup | |||
| 2607 | earlier than the normal init file is processed. Such customizations | 2607 | earlier than the normal init file is processed. Such customizations |
| 2608 | can be put in the early init file, @file{~/.emacs.d/early-init.el}. | 2608 | can be put in the early init file, @file{~/.emacs.d/early-init.el}. |
| 2609 | This file is loaded before the package system is initialized, so in it | 2609 | This file is loaded before the package system is initialized, so in it |
| 2610 | you can customize variables that affect the initialization process, | 2610 | you can customize variables that affect the package initialization |
| 2611 | such as @code{package-enable-at-startup} and @code{package-load-list}. | 2611 | process, such as @code{package-enable-at-startup}, |
| 2612 | @xref{Package Installation}. | 2612 | @code{package-load-list}, and @code{package-user-dir}. Note that |
| 2613 | variables like @code{package-archives} which only affect the | ||
| 2614 | installation of new packages, and not the process of making | ||
| 2615 | already-installed packages available, may be customized in the regular | ||
| 2616 | init file. @xref{Package Installation}. | ||
| 2613 | 2617 | ||
| 2614 | For more information on the early init file, @pxref{Init File,,, | 2618 | For more information on the early init file, @pxref{Init File,,, |
| 2615 | elisp, The Emacs Lisp Reference Manual}. | 2619 | elisp, The Emacs Lisp Reference Manual}. |