From: Alan Mackenzie Date: Sat, 27 Aug 2022 09:33:52 +0000 (+0000) Subject: CC Mode: Remove double evaluation of self-quoting function in cc-langs.el X-Git-Tag: emacs-29.0.90~1893^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f3780819558e12d121bc8cb5acac313909562ab;p=emacs.git 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. --- 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)