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

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

[elpa] externals/modus-themes fef9116871: Fix regression in modus-themes


From: ELPA Syncer
Subject: [elpa] externals/modus-themes fef9116871: Fix regression in modus-themes--property-lookup caused by b410fcc
Date: Sat, 18 Nov 2023 03:58:31 -0500 (EST)

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

    Fix regression in modus-themes--property-lookup caused by b410fcc
    
    Thanks to rhstanton and emacsomancer for reporting the bug on the
    GitHub mirror:
    
    - <https://github.com/protesilaos/modus-themes/issues/92>
    - <https://github.com/protesilaos/modus-themes/issues/93>
---
 modus-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index 3379029939..e90409eaaf 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -1490,7 +1490,7 @@ Check PROPERTIES for an alist value that corresponds to
 ALIST-KEY.  If no alist is present, search the PROPERTIES
 list given LIST-PRED, using DEFAULT as a fallback."
   (if-let* ((val (or (alist-get alist-key properties)
-                     (mapcar (lambda (x) (when (funcall list-pred x) x)) 
properties)
+                     (seq-filter (lambda (x) (funcall list-pred x)) properties)
                      default))
             ((listp val)))
       (car val)



reply via email to

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