diff options
| author | Noam Postavsky | 2016-07-01 21:15:28 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-07-03 09:19:23 -0400 |
| commit | dec756756070d271925c8c2a705de97eb8d7fb0b (patch) | |
| tree | f28d47f94314e21815d4127a16ec68c6c0ba6a1a | |
| parent | 113d1e2beffd09c497d4af47752da27fbc025ead (diff) | |
| download | emacs-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.texi | 10 |
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 | |||
| 155 | option @samp{--batch} was specified. | 155 | option @samp{--batch} was specified. |
| 156 | 156 | ||
| 157 | @item | 157 | @item |
| 158 | If @code{package-enable-at-startup} is non-@code{nil}, it calls the | 158 | It calls the function @code{package-initialize} to activate any |
| 159 | function @code{package-initialize} to activate any optional Emacs Lisp | 159 | optional Emacs Lisp package that has been installed. @xref{Packaging |
| 160 | package that has been installed. @xref{Packaging Basics}. | 160 | Basics}. However, Emacs doesn't initialize packages when |
| 161 | @code{package-enable-at-startup} is @code{nil} or when it's started | ||
| 162 | with one of the options @samp{-q}, @samp{-Q}, or @samp{--batch}. To | ||
| 163 | initialize packages in the latter case, @code{package-initialize} | ||
| 164 | should 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 |