Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
emacs load-theme desktop-mode
(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