dump: fix warning about layer list changed outside of dotfile func.
This commit is contained in:
parent
5dec672861
commit
af4b4df031
|
@ -563,6 +563,10 @@ refreshed during the current session."
|
||||||
configuration-layer--last-dotspacemacs-configuration-layers-file))
|
configuration-layer--last-dotspacemacs-configuration-layers-file))
|
||||||
(let ((layers dotspacemacs-configuration-layers))
|
(let ((layers dotspacemacs-configuration-layers))
|
||||||
(dotspacemacs|call-func dotspacemacs/layers "Calling dotfile layers...")
|
(dotspacemacs|call-func dotspacemacs/layers "Calling dotfile layers...")
|
||||||
|
;; `dotspacemacs--configuration-layers-saved' is used to detect if the layer
|
||||||
|
;; list has been changed outside of function `dotspacemacs/layers'
|
||||||
|
(setq dotspacemacs--configuration-layers-saved
|
||||||
|
dotspacemacs-configuration-layers)
|
||||||
(setq changed-since-last-dump-p
|
(setq changed-since-last-dump-p
|
||||||
(not (equal layers dotspacemacs-configuration-layers)))
|
(not (equal layers dotspacemacs-configuration-layers)))
|
||||||
;; save layers list to file
|
;; save layers list to file
|
||||||
|
|
Loading…
Reference in a new issue