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

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

[nongnu] elpa/alect-themes 094d361 048/269: Preserve the structure of `a


From: ELPA Syncer
Subject: [nongnu] elpa/alect-themes 094d361 048/269: Preserve the structure of `alect-overriding-faces'
Date: Thu, 21 Oct 2021 17:58:46 -0400 (EDT)

branch: elpa/alect-themes
commit 094d3618593c314046dc5f80cb3924e9fdfd6e0a
Author: Alex Kost <alezost@gmail.com>
Commit: Alex Kost <alezost@gmail.com>

    Preserve the structure of `alect-overriding-faces'
    
    Function `alect-substitute-colors-in-faces' is destructive.
---
 alect-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alect-themes.el b/alect-themes.el
index f560b1d..e5f5a25 100644
--- a/alect-themes.el
+++ b/alect-themes.el
@@ -1291,7 +1291,7 @@ For INVERT, see `alect-get-color'."
          (theme-faces (alect-override-faces
                        (car theme-vals)
                        (alect-substitute-colors-in-faces
-                        theme alect-overriding-faces)))
+                        theme (copy-tree alect-overriding-faces))))
          (theme-vars  (cdr theme-vals)))
     ;; FIXME is there a way to avoid this?: variables are not set with
     ;; `custom-theme-set-variables' if they have not been defined yet



reply via email to

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