[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 619e0ae 6/9: Explictly explain that package-initial
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 619e0ae 6/9: Explictly explain that package-initialize loads the packages |
Date: |
Sat, 30 Apr 2016 15:31:17 +0000 |
branch: master
commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
lisp/emacs-lisp/package.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index d5d35d7..c05bb53 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -1430,7 +1430,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)
- [Emacs-diffs] master updated (bc00dcf -> 66379a7), Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 2824c58 4/9: Doc fix for insert-pair-alist, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master e77b8d8 3/9: Move doc of backup-directory-alist to the Backup node, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 619e0ae 6/9: Explictly explain that package-initialize loads the packages,
Lars Ingebrigtsen <=
- [Emacs-diffs] master 3eca9a0 5/9: Have the doc strings of `load-path' and `require' mention each other, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master c05716d 1/9: Fill the doc string of font-lock-keywords, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 6f86ec8 7/9: Add a variable to control "shorter command" suggestions, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 12515d8 8/9: Document extended-command-suggest-shorter, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master c05d186 2/9: Tiny doc clarification for create-fontset-from-fontset-spec, Lars Ingebrigtsen, 2016/04/30
- [Emacs-diffs] master 66379a7 9/9: (extended-command-suggest-shorter): Add a version string, Lars Ingebrigtsen, 2016/04/30