branch: externals/ef-themes
commit 9fca59c2fe2e90ed63e34b811595e7708928a050
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Simplify ef-themes--retrieve-palette-value
    
    This is the same change that Basil L. Contovounesios contributed to
    the Modus themes Git repository, in commit de57a78.
---
 ef-themes.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ef-themes.el b/ef-themes.el
index c23bbbf17c..897a804ea9 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -416,8 +416,7 @@ This function is used in the macros `ef-themes-theme',
      ((or (stringp value)
           (eq value 'unspecified))
       value)
-     ((and (symbolp value)
-           (memq value (mapcar #'car palette)))
+     ((and (symbolp value) value)
       (ef-themes--retrieve-palette-value value palette))
      (t
       'unspecified))))

Reply via email to