emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0f37808195: CC Mode: Remove double evaluation of self-quoting fun


From: Alan Mackenzie
Subject: master 0f37808195: CC Mode: Remove double evaluation of self-quoting function in cc-langs.el
Date: Sat, 27 Aug 2022 05:35:48 -0400 (EDT)

branch: master
commit 0f3780819558e12d121bc8cb5acac313909562ab
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    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.
---
 lisp/progmodes/cc-langs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 120949a5bc..068b4a65b2 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]