about summary refs log tree commit diff
path: root/config.el
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-18T15·34-0400
committerGriffin Smith <root@gws.fyi>2020-05-18T15·34-0400
commit0e3204bd22373dd74e5d65c5247b5d534a8560f7 (patch)
tree2f70296d119a6db7ed9f615e021c491f1c0aab9e /config.el
parenta6078d2e33dd6cbad21d22c30bff8e9ba43eb82d (diff)
fix variable warning
definition order!
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)))))