Speedup SPC h SPC for both helm and ivy
The layer files were loaded twice because the global variable controlling the loading of layer files was not explicity set at the layer discovery phase.
This commit is contained in:
parent
6b6d365b96
commit
2875ed4b0c
|
@ -1124,8 +1124,10 @@ Returns nil if the directory is not a category."
|
|||
(oset indexed-layer :dir sub))
|
||||
(spacemacs-buffer/message
|
||||
"-> Discovered configuration layer: %s" layer-name-str)
|
||||
(configuration-layer//add-layer
|
||||
(configuration-layer/make-layer layer-name nil nil sub)))))
|
||||
(let ((configuration-layer--load-packages-files nil))
|
||||
(configuration-layer//add-layer
|
||||
(configuration-layer/make-layer layer-name
|
||||
nil nil sub))))))
|
||||
(t
|
||||
;; layer not found, add it to search path
|
||||
(setq search-paths (cons sub search-paths)))))))))))
|
||||
|
|
Loading…
Reference in New Issue