emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 bf21c84: Fix quoting problem in cc-engine debug m


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 bf21c84: Fix quoting problem in cc-engine debug message
Date: Mon, 02 May 2016 17:06:31 +0000

branch: emacs-25
commit bf21c84f0d3dab33b4836098b789eaddf9492b2a
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix quoting problem in cc-engine debug message
    
    * lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
    Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
    likewise for ‘`’, and ‘%’.
---
 lisp/progmodes/cc-engine.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 2010515..eb015ac 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -3498,7 +3498,7 @@ comment at the start of cc-engine.el for more info."
           c-state-old-cpp-end
           c-parse-state-point))))
 (defun c-replay-parse-state-state ()
-  (message
+  (message "%s"
    (concat "(setq "
     (mapconcat
      (lambda (arg)



reply via email to

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