projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7bfbf
)
* lisp/emacs-lisp/package.el (package-activate-all): Another tweak
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 6 Jan 2021 02:26:03 +0000
(21:26 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 6 Jan 2021 02:26:03 +0000
(21:26 -0500)
`package-quickstart.el` files presume `package-activated-list`
is a bound variable, so make sure this is the case even when `package.el` is
not yet loaded.
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index a38363df23e7365b1653533fa0eaee2328087e41..453e86c783186e6f0ff4784f292119b17394ca24 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-1640,6
+1640,8
@@
The variable `package-load-list' controls which packages to load."
;; 2 when loading the .el file (this assumes we were careful to
;; save this file so it doesn't need any decoding).
(let ((load-source-file-function nil))
+ (unless (boundp 'package-activated-list)
+ (setq package-activated-list nil))
(load qs nil 'nomessage))
(require 'package)
(package--activate-all)))))