package--initialized = nil in doom-initialize; in case of reloads
This commit is contained in:
parent
82bead5ae4
commit
dec3ecba6e
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ FORCE-P is non-nil, do it anyway.
|
||||||
(make-directory dir t)))
|
(make-directory dir t)))
|
||||||
;; Ensure packages have been initialized
|
;; Ensure packages have been initialized
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(setq package-activated-list nil)
|
(setq package-activated-list nil
|
||||||
|
package--initialized nil)
|
||||||
(condition-case _ (package-initialize)
|
(condition-case _ (package-initialize)
|
||||||
('error (package-refresh-contents)
|
('error (package-refresh-contents)
|
||||||
(setq doom--refreshed-p t)
|
(setq doom--refreshed-p t)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue