about summary refs log tree commit diff
path: root/config.el
diff options
context:
space:
mode:
Diffstat (limited to 'config.el')
-rw-r--r--config.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.el b/config.el
index f30e07a105c6..a2f63d3627d5 100644
--- a/config.el
+++ b/config.el
@@ -104,6 +104,9 @@
       +solarized-green-d   "#546E00"
       +solarized-green-l "#B4C342")
 
+(defcustom theme-overrides nil
+  "Association list of override faces to set for different custom themes.")
+
 (defadvice load-theme (after theme-set-overrides activate)
   (dolist (theme-settings theme-overrides)
     (let ((theme (car theme-settings))
@@ -113,9 +116,6 @@
             (dolist (face faces)
               (custom-theme-set-faces theme face)))))))
 
-(defcustom theme-overrides nil
-  "Association list of override faces to set for different custom themes.")
-
 (defun alist-set (alist-symbol key value)
   "Set VALUE of a KEY in ALIST-SYMBOL."
   (set alist-symbol (cons (list key value) (assq-delete-all key (eval alist-symbol)))))