]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix quoting problem in cc-engine debug message
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 May 2016 17:06:04 +0000 (10:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 2 May 2016 17:06:25 +0000 (10:06 -0700)
* 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

index 2010515ce5c0ed0091136c30a8fee54c409a4ff0..eb015acf3200bbf3cd18c7faa4ea7f5e7a51a8f7 100644 (file)
@@ -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)