emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/spacemacs-theme 81755299ac 302/336: Make sure custom theme


From: ELPA Syncer
Subject: [nongnu] elpa/spacemacs-theme 81755299ac 302/336: Make sure custom themes can change all color variables
Date: Fri, 14 Jan 2022 10:59:47 -0500 (EST)

branch: elpa/spacemacs-theme
commit 81755299ac2778f57fd0ae83c4fb4daf8c572858
Author: Matt Lundin <mdl@imapmail.org>
Commit: Matt Lundin <mdl@imapmail.org>

    Make sure custom themes can change all color variables
    
    Fixes issue where the local variable used in the loop for setting
    custom theme colors conflicted with an existing color variable.
---
 spacemacs-common.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spacemacs-common.el b/spacemacs-common.el
index 5e83650e7f..690f6b0ae2 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -162,8 +162,8 @@ to 'auto, tags may not be properly aligned. "
         (yellow        (if (eq variant 'dark) (if (true-color-p) "#b1951d" 
"#875f00") (if (true-color-p) "#b1951d" "#875f00")))
         (yellow-bg     (if (eq variant 'dark) (if (true-color-p) "#32322c" 
"#262626") (if (true-color-p) "#f6f1e1" "#ffffff"))))
 
-    (cl-loop for (var . val) in spacemacs-theme-custom-colors
-             do (set var val))
+    (cl-loop for (cvar . val) in spacemacs-theme-custom-colors
+             do (set cvar val))
 
     (custom-theme-set-faces
      theme-name



reply via email to

[Prev in Thread] Current Thread [Next in Thread]