core: add comment

This commit is contained in:
syl20bnr 2015-12-01 01:21:03 -05:00
parent 63ff1926e5
commit fcb596986f
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ package name does not match theme name + `-theme' suffix.")
(defadvice load-theme (after spacemacs/load-theme-adv activate)
"Perform post load processing."
(let ((theme (ad-get-arg 0)))
;; Without this a popup is raised every time emacs25 starts up for
;; assignment to a free variable
(with-no-warnings
(setq spacemacs--cur-theme theme))
(spacemacs/post-theme-init theme)))