[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] scratch/evil 32b4af47c3 1/4: (evil-with-delay): Add comment for
From: |
Stefan Monnier |
Subject: |
[nongnu] scratch/evil 32b4af47c3 1/4: (evil-with-delay): Add comment for last change |
Date: |
Wed, 3 Jul 2024 12:57:39 -0400 (EDT) |
branch: scratch/evil
commit 32b4af47c36e735cc117e97a4ae7ca601f488fac
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
(evil-with-delay): Add comment for last change
---
evil-common.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/evil-common.el b/evil-common.el
index 7f60bdfb3b..da0ba530ef 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -59,6 +59,9 @@ If LOCAL is non-nil, the buffer-local value of HOOK is
modified."
(macroexp-let2* nil
((fun-name `(make-symbol
,(or name (format "evil-delay-in-%s" hook-sym))))
+ ;; FIXME: We use `apply-partially' here for those cases where
+ ;; this macro is used (via `evil-define-key') in a file which
+ ;; still doesn't activate `lexical-binding'.
(fun `(apply-partially
(lambda (name &rest _)
(when ,(or condition t)