summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2016-07-01 21:15:28 -0400
committerNoam Postavsky <npostavs@gmail.com>2016-07-03 09:19:23 -0400
commitdec756756070d271925c8c2a705de97eb8d7fb0b (patch)
treef28d47f94314e21815d4127a16ec68c6c0ba6a1a /doc
parent113d1e2beffd09c497d4af47752da27fbc025ead (diff)
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).
Diffstat (limited to 'doc')
-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 5f189b984a..ec14b014e5 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -155,9 +155,13 @@ It loads your abbrevs from the file specified by
option @samp{--batch} was specified.
@item
-If @code{package-enable-at-startup} is non-@code{nil}, it calls the
-function @code{package-initialize} to activate any optional Emacs Lisp
-package that has been installed. @xref{Packaging Basics}.
+It calls the function @code{package-initialize} to activate any
+optional Emacs Lisp package that has been installed. @xref{Packaging
+Basics}. However, Emacs doesn't initialize packages when
+@code{package-enable-at-startup} is @code{nil} or when it's started
+with one of the options @samp{-q}, @samp{-Q}, or @samp{--batch}. To
+initialize packages in the latter case, @code{package-initialize}
+should be called explicitly (e.g., via the @samp{--funcall} option).
@vindex after-init-time
@item