* lisp/emacs-lisp/package.el (package-activate-all): Another tweak
`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.
This commit is contained in:
parent
7d7bfbf034
commit
cf672c6671
1 changed files with 2 additions and 0 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue