aboutsummaryrefslogtreecommitdiff
path: root/evil-macros.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-09-30 17:49:26 -0400
committerAxel Forsman <axel@axelf.se>2023-08-12 11:52:14 +0200
commitb291039b0c6ffc3b2f3c9f02b8ad2f0041127b12 (patch)
treecd592ca6453a347e33073b3128cf9e3c2d81ec2e /evil-macros.el
parent1b56ffcc102b4c5f8b015e760b5f9cf5932622af (diff)
Misc minor changes
* README.md: Mention that `undo-fu` is also in NonGNU ELPA and update its repository URL. * evil.el: Update the undo-fu repository URL. * evil-macros.el (evil-define-interactive-code): Move the insertion of quote around `func` to the `cond` so the `quote` is not incorrectly added around lambda forms. * evil-tests.el: Add a FIXME. * evil-commands.el (evil-save-side-windows): Silence spurious warning.
Diffstat (limited to 'evil-macros.el')
-rw-r--r--evil-macros.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-macros.el b/evil-macros.el
index 90ae28b..1a60051 100644
--- a/evil-macros.el
+++ b/evil-macros.el
@@ -746,10 +746,10 @@ via KEY-VALUE pairs. BODY should evaluate to a list of values.
`(lambda ,args
,@(when doc `(,doc))
,@body)
- (macroexp-progn body))))
+ `',(macroexp-progn body))))
`(eval-and-compile
(evil--add-to-alist
- evil-interactive-alist ,code (cons ',func ',properties))
+ evil-interactive-alist ,code (cons ,func ',properties))
,code)))
;;; Highlighting