Created
June 14, 2012 00:23
-
-
Save darrik/2927349 to your computer and use it in GitHub Desktop.
darrik/reset-theme
This file contains hidden or 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
(defun darrik/reset-theme () | |
"Disable all loaded themes, effectively resetting to default colors." | |
(interactive) | |
(if (< emacs-major-version 24) | |
(message "Only works in Emacs 24+") | |
(progn | |
(mapcar 'disable-theme custom-enabled-themes) | |
(if (eq custom-enabled-themes nil) | |
(message "Theme reset."))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment