projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56aa52c
)
CC Mode: Remove double evaluation of self-quoting function in cc-langs.el
author
Alan Mackenzie
<acm@muc.de>
Sat, 27 Aug 2022 09:33:52 +0000
(09:33 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sat, 27 Aug 2022 09:33:52 +0000
(09:33 +0000)
This is a followup to Stefan Monnier's fix for bug #57065 from 2022-08-25.
* lisp/progmodes/cc-langs.el (c-init-language-vars): Add a #' after the
funcall.
lisp/progmodes/cc-langs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-langs.el
b/lisp/progmodes/cc-langs.el
index 120949a5bc322ad3803b6b04173f081aae066fcc..068b4a65b211d683f0adf5b2bc2106c9a8e589fd 100644
(file)
--- a/
lisp/progmodes/cc-langs.el
+++ b/
lisp/progmodes/cc-langs.el
@@
-4278,7
+4278,7
@@
This macro is expanded at compile time to a form tailored for the mode
in question, so MODE must be a constant. Therefore MODE is not
evaluated and should not be quoted."
(declare (debug nil))
- `(funcall ,(c-make-init-lang-vars-fun mode)))
+ `(funcall
#'
,(c-make-init-lang-vars-fun mode)))
\f
(cc-provide 'cc-langs)