branch: externals/denote commit 5ab937f1da1437f777fa7beb368521f628245810 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Require 'subr-x' at compile time This is to be sure that Emacs 28 evaluates 'when-let*'. Otherwise we will end up with errors such as the one reported by hpgisler in issue 62 on the GitHub mirror: <https://github.com/protesilaos/denote/issues/62>. --- denote.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/denote.el b/denote.el index 2152c695a5..00e264b6a8 100644 --- a/denote.el +++ b/denote.el @@ -96,7 +96,9 @@ ;;; Code: (require 'seq) -(eval-when-compile (require 'cl-lib)) +(eval-when-compile + (require 'cl-lib) + (require 'subr-x)) (defgroup denote () "Simple notes with an efficient file-naming scheme."