branch: externals/standard-themes
commit 4eaea72366f0d589efc11f7223c355147c951196
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.
---
 standard-themes.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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

Reply via email to