aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRadon Rosborough2018-03-02 21:06:53 -0800
committerEli Zaretskii2018-03-19 10:44:40 +0200
commit2db57579b08ac99c464b6d3698648b3167fc5d55 (patch)
treed13a814f944a13cfea43c25e7310befc800f342f /doc
parent667cdf421ff64b1fe736f75e8a7f8864de1b5026 (diff)
downloademacs-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.texi10
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
2607earlier than the normal init file is processed. Such customizations 2607earlier than the normal init file is processed. Such customizations
2608can be put in the early init file, @file{~/.emacs.d/early-init.el}. 2608can be put in the early init file, @file{~/.emacs.d/early-init.el}.
2609This file is loaded before the package system is initialized, so in it 2609This file is loaded before the package system is initialized, so in it
2610you can customize variables that affect the initialization process, 2610you can customize variables that affect the package initialization
2611such as @code{package-enable-at-startup} and @code{package-load-list}. 2611process, such as @code{package-enable-at-startup},
2612@xref{Package Installation}. 2612@code{package-load-list}, and @code{package-user-dir}. Note that
2613variables like @code{package-archives} which only affect the
2614installation of new packages, and not the process of making
2615already-installed packages available, may be customized in the regular
2616init 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,,,
2615elisp, The Emacs Lisp Reference Manual}. 2619elisp, The Emacs Lisp Reference Manual}.