Explictly explain that package-initialize loads the packages
* lisp/emacs-lisp/package.el (package-initialize): Be explicit
in saying that `package-initialize' obviates adjusting the
path or requiring the packages, as this is a question that
apparently comes up now and then (bug#18829).
(cherry picked from commit 619e0aedb2
)
This commit is contained in:
parent
137868051e
commit
8f1e784f19
1 changed files with 4 additions and 1 deletions
|
@ -1426,7 +1426,10 @@ If `user-init-file' does not mention `(package-initialize)', add
|
|||
it to the file.
|
||||
If called as part of loading `user-init-file', set
|
||||
`package-enable-at-startup' to nil, to prevent accidentally
|
||||
loading packages twice."
|
||||
loading packages twice.
|
||||
It is not necessary to adjust `load-path' or `require' the
|
||||
individual packages after calling `package-initialize' -- this is
|
||||
taken care of by `package-initialize'."
|
||||
(interactive)
|
||||
(setq package-alist nil)
|
||||
(if (equal user-init-file load-file-name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue