Created
May 27, 2015 17:13
-
-
Save vividsnow/0609b55bd684d325e7cb to your computer and use it in GitHub Desktop.
emacs load-theme desktop-mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(desktop-save-mode) | |
(add-to-list 'desktop-globals-to-save 'custom-enabled-themes) | |
(defun desktop-load-theme () "load custom theme" (interactive) | |
(dolist (th custom-enabled-themes) (load-theme th))) | |
(add-hook 'desktop-after-read-hook 'desktop-load-theme) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment