core: change meaning of t for dotspacemacs-enable-lazy-installation

t now means unused.
This commit is contained in:
syl20bnr 2016-03-28 12:10:12 -04:00
parent ae9f40ae77
commit 91eeccc7a5
1 changed files with 2 additions and 2 deletions

View File

@ -987,8 +987,8 @@ path."
(defun configuration-layer//lazy-install-p (layer-name)
"Return non nil if the layer with LAYER-NAME should be lazy installed."
(or (memq dotspacemacs-enable-lazy-installation '(all t))
(and (eq 'unused dotspacemacs-enable-lazy-installation)
(or (eq 'all dotspacemacs-enable-lazy-installation)
(and (memq dotspacemacs-enable-lazy-installation '(unused t))
(not (configuration-layer/layer-usedp layer-name)))))
(defun configuration-layer//lazy-install-packages (layer-name mode)