[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/fontaine 96e9ff017c 1/5: Use helper predicate function
From: |
ELPA Syncer |
Subject: |
[elpa] externals/fontaine 96e9ff017c 1/5: Use helper predicate function in fontaine-apply-current-preset |
Date: |
Wed, 21 Feb 2024 06:58:06 -0500 (EST) |
branch: externals/fontaine
commit 96e9ff017c8b7a3c1d3e4c51f0f3eff7a7887bf8
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Use helper predicate function in fontaine-apply-current-preset
---
fontaine.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fontaine.el b/fontaine.el
index b633e2193b..273c6f8c1c 100644
--- a/fontaine.el
+++ b/fontaine.el
@@ -528,7 +528,7 @@ Protesilaos). Alternatively, Emacs 29 provides the special
which this function ignores"
(interactive)
(if-let ((current fontaine-current-preset)
- ((alist-get current fontaine-presets)))
+ ((fontaine--preset-p current)))
(fontaine-set-preset current)
(user-error "The `fontaine-current-preset' is not among
`fontaine-presets'")))