From f974345491b418926797559adf853aaedf690e46 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 2 May 2016 10:06:04 -0700 Subject: [PATCH] Fix quoting problem in cc-engine debug message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 @@ c-record-parse-state-state c-state-old-cpp-end c-parse-state-point)))) (defun c-replay-parse-state-state () - (message + (message "%s" (concat "(setq " (mapconcat (lambda (arg) -- 2.5.5