branch: externals/fontaine commit fbd3a148e2a622eeb8195b278fb9c6c34c04e8a5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Require subr-x at compile time This is to avoid scenaria where 'if-let' and friends are not known to the byte compiler. Such a problem was reported by Ted Reed concerning their Emacs 27 build: <https://lists.sr.ht/~protesilaos/fontaine/%3cm27d6t3f7a....@zenithia.net%3E#%3c87ee11w1j0....@zenithia.net%3E>. --- fontaine.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fontaine.el b/fontaine.el index c53301d954..d0c0de2dc4 100644 --- a/fontaine.el +++ b/fontaine.el @@ -114,6 +114,8 @@ ;;; Code: +(eval-when-compile (require 'subr-x)) + (defgroup fontaine () "Set font configurations using presets." :group 'font)