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

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

[nongnu] scratch/evil 94dd2abd72 2/3: (evil-with-delay): Add comment for


From: Stefan Monnier
Subject: [nongnu] scratch/evil 94dd2abd72 2/3: (evil-with-delay): Add comment for last change
Date: Mon, 21 Aug 2023 19:23:57 -0400 (EDT)

branch: scratch/evil
commit 94dd2abd720a9151232a993ac163011af1e10f54
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 9504cda27f..48298be1b4 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)



reply via email to

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