diff options
| author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-07-01 12:20:43 -0400 |
|---|---|---|
| committer | Axel Forsman <axel@axelf.se> | 2023-08-07 10:52:07 +0200 |
| commit | fa41a4958c204f6e1254e7ebc5ca1b073889ed5c (patch) | |
| tree | 0a60da0e89a9c1d12a2cf4d2fb372c318e53978f /evil-common.el | |
| parent | 623de71e3d67fea0405ea6c05b285bae0e3acc26 (diff) | |
Prefer #' to quote function names
Diffstat (limited to 'evil-common.el')
| -rw-r--r-- | evil-common.el | 10 |
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)))) |
