branch: scratch/evil commit 32b4af47c36e735cc117e97a4ae7ca601f488fac Author: Stefan Monnier <monn...@iro.umontreal.ca> Commit: Stefan Monnier <monn...@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)