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

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

[elpa] externals/fontaine f7660466d9 2/2: Add FIXME for error cond in fo


From: ELPA Syncer
Subject: [elpa] externals/fontaine f7660466d9 2/2: Add FIXME for error cond in fontaine--apply-preset
Date: Wed, 7 Sep 2022 09:57:51 -0400 (EDT)

branch: externals/fontaine
commit f7660466d9493af65ef6b2b2f709a25e6dc3b0e1
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add FIXME for error cond in fontaine--apply-preset
---
 fontaine.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fontaine.el b/fontaine.el
index 4e7c14a37f..2f20511a2e 100644
--- a/fontaine.el
+++ b/fontaine.el
@@ -380,6 +380,10 @@ ARGS are its routines."
      (if-let ((properties (append (alist-get preset fontaine-presets)
                                   (alist-get t fontaine-presets))))
          ,args
+       ;; FIXME 2022-09-07: Because we `append' the t of
+       ;; `fontaine-presets' this error is only relevant when the list
+       ;; is empty.  Perhaps we can harden the condition.  Otherwise we
+       ;; should reword this.
        (user-error "%s is not in `fontaine-presets' or is empty" preset))))
 
 (fontaine--apply-preset



reply via email to

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