summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-04-27 11:52:30 +0300
committerEli Zaretskii <eliz@gnu.org>2024-04-27 11:52:30 +0300
commita7d51085cf0a6e6d01fa265001d7d6a4bd728ed2 (patch)
tree995adfa3ac20ae5f9234522d6ac49428d28463db /doc
parent53333132e47589c59331a7b8b3afb5ce964aed99 (diff)
downloademacs-a7d51085cf0a6e6d01fa265001d7d6a4bd728ed2.tar.gz
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 'doc')
-rw-r--r--doc/emacs/package.texi8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/emacs/package.texi b/doc/emacs/package.texi
index c8f790bab47..fd445805068 100644
--- a/doc/emacs/package.texi
+++ b/doc/emacs/package.texi
@@ -490,8 +490,12 @@ startup if invoked with the @samp{-q} or @samp{--no-init-file} options
To keep Emacs from automatically making packages available at
startup, change the variable @code{package-enable-at-startup} to
@code{nil}. You must do this in the early init file, as the variable
-is read before loading the regular init file. Currently this variable
-cannot be set via Customize.
+is read before loading the regular init file. Therefore, if you
+customize this variable via Customize, you should save your customized
+setting into your early init file. To do this, set or change the value
+of the variable @code{custom-file} (@pxref{Saving Customizations}) to
+point to your early init file before saving the customized value of
+@code{package-enable-at-startup}.
@findex package-quickstart-refresh
@vindex package-quickstart