aboutsummaryrefslogtreecommitdiff
path: root/evil-common.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-07-01 12:20:43 -0400
committerAxel Forsman <axel@axelf.se>2023-08-07 10:52:07 +0200
commitfa41a4958c204f6e1254e7ebc5ca1b073889ed5c (patch)
tree0a60da0e89a9c1d12a2cf4d2fb372c318e53978f /evil-common.el
parent623de71e3d67fea0405ea6c05b285bae0e3acc26 (diff)
Prefer #' to quote function names
Diffstat (limited to 'evil-common.el')
-rw-r--r--evil-common.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/evil-common.el b/evil-common.el
index afafd7c..0f9d910 100644
--- a/evil-common.el
+++ b/evil-common.el
@@ -320,11 +320,11 @@ last, sorting in between."
,(when (and command doc-form)
`(put ',command 'function-documentation ,doc-form))
;; set command properties for symbol or lambda function
- (let ((func ',(if (and (null command) body)
- `(lambda ,args
- ,interactive
- ,@body)
- command)))
+ (let ((func ,(if (and (null command) body)
+ `(lambda ,args
+ ,interactive
+ ,@body)
+ `#',command)))
(apply #'evil-set-command-properties func ',keys)
func))))