diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-04-27 11:52:30 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-04-27 11:52:30 +0300 |
commit | a7d51085cf0a6e6d01fa265001d7d6a4bd728ed2 (patch) | |
tree | 995adfa3ac20ae5f9234522d6ac49428d28463db /lisp/emacs-lisp | |
parent | 53333132e47589c59331a7b8b3afb5ce964aed99 (diff) | |
download | emacs-a7d51085cf0a6e6d01fa265001d7d6a4bd728ed2.tar.gz emacs-a7d51085cf0a6e6d01fa265001d7d6a4bd728ed2.tar.bz2 emacs-a7d51085cf0a6e6d01fa265001d7d6a4bd728ed2.zip |
Improve documentation of 'package-enable-at-startup'
* doc/emacs/package.texi (Package Installation): Clarify how to
customize 'package-enable-at-startup'.
* lisp/emacs-lisp/package.el (package-enable-at-startup): Add note
about customization. (Bug#70402)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/package.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index ab1731aeb54..8c915766e1c 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -174,7 +174,13 @@ with \"-q\"). Even if the value is nil, you can type \\[package-initialize] to make installed packages available at any time, or you can -call (package-activate-all) in your init-file." +call (package-activate-all) in your init-file. + +Note that this variable must be set to a non-default value in +your early-init file, as the variable's value is used before +loading the regular init file. Therefore, if you customize it +via Customize, you should save your customized setting into +your `early-init-file'." :type 'boolean :version "24.1") |