aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2016-07-01 21:15:28 -0400
committerNoam Postavsky2016-07-03 09:19:23 -0400
commitdec756756070d271925c8c2a705de97eb8d7fb0b (patch)
treef28d47f94314e21815d4127a16ec68c6c0ba6a1a
parent113d1e2beffd09c497d4af47752da27fbc025ead (diff)
downloademacs-dec756756070d271925c8c2a705de97eb8d7fb0b.tar.gz
emacs-dec756756070d271925c8c2a705de97eb8d7fb0b.zip
Explain when package-initialize isn't called
* doc/lispref/os.texi (Startup Summary): Explain that package-initialize is not called when options -q, -Q, or --batch were passed (Bug #19151).
-rw-r--r--doc/lispref/os.texi10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 5f189b984a3..ec14b014e52 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -155,9 +155,13 @@ It loads your abbrevs from the file specified by
155option @samp{--batch} was specified. 155option @samp{--batch} was specified.
156 156
157@item 157@item
158If @code{package-enable-at-startup} is non-@code{nil}, it calls the 158It calls the function @code{package-initialize} to activate any
159function @code{package-initialize} to activate any optional Emacs Lisp 159optional Emacs Lisp package that has been installed. @xref{Packaging
160package that has been installed. @xref{Packaging Basics}. 160Basics}. However, Emacs doesn't initialize packages when
161@code{package-enable-at-startup} is @code{nil} or when it's started
162with one of the options @samp{-q}, @samp{-Q}, or @samp{--batch}. To
163initialize packages in the latter case, @code{package-initialize}
164should be called explicitly (e.g., via the @samp{--funcall} option).
161 165
162@vindex after-init-time 166@vindex after-init-time
163@item 167@item