summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2022-08-27 09:33:52 +0000
committerAlan Mackenzie <acm@muc.de>2022-08-27 09:33:52 +0000
commit0f3780819558e12d121bc8cb5acac313909562ab (patch)
tree89e559388d2aff44c3d955cbbdac6fa92bbece88
parent56aa52c346d5317a9f228ca12d52d4c860c458b0 (diff)
downloademacs-0f3780819558e12d121bc8cb5acac313909562ab.tar.gz
CC Mode: Remove double evaluation of self-quoting function in cc-langs.el
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.
-rw-r--r--lisp/progmodes/cc-langs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 120949a5bc3..068b4a65b21 100644
--- 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)))
(cc-provide 'cc-langs)