summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-05-02 10:06:04 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-05-02 10:06:25 -0700
commitbf21c84f0d3dab33b4836098b789eaddf9492b2a (patch)
treeea06196a857813e1fa3bd832da2ff1bcb3152e81
parent8f36614512d479fb76764bf013ad23550696c5a6 (diff)
downloademacs-bf21c84f0d3dab33b4836098b789eaddf9492b2a.tar.gz
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 ‘%’.
-rw-r--r--lisp/progmodes/cc-engine.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 2010515ce5c..eb015acf320 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)