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

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

[elpa] externals/ef-themes a02573113c: Fix initial colors list in ef-the


From: ELPA Syncer
Subject: [elpa] externals/ef-themes a02573113c: Fix initial colors list in ef-themes-with-colors
Date: Tue, 30 Aug 2022 14:57:35 -0400 (EDT)

branch: externals/ef-themes
commit a02573113c668c05569480d1b68e506dfba68891
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Fix initial colors list in ef-themes-with-colors
    
    Thanks to Steve Molitor for telling me that the previous design would
    not work if 'ef-light' was not loaded.   This was done in issue 11 at
    the GitHub mirror: <https://github.com/protesilaos/ef-themes/issues/11>.
---
 ef-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ef-themes.el b/ef-themes.el
index 9a6050420f..377935c424 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1518,7 +1518,7 @@ Those are stored in `ef-themes-faces' and
          ;; instantiate the actual theme's palette.  We have to do this
          ;; otherwise the macro does not work properly when called from
          ;; inside a function.
-         (colors (mapcar #'car (symbol-value 'ef-light-palette))))
+         (colors (mapcar #'car (ef-themes--current-theme-palette))))
     `(let* ((c '((class color) (min-colors 256)))
             (,sym (ef-themes--current-theme-palette))
             ,@(mapcar (lambda (color)



reply via email to

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