diff options
| author | Paul Eggert | 2016-05-02 10:06:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-02 10:06:25 -0700 |
| commit | bf21c84f0d3dab33b4836098b789eaddf9492b2a (patch) | |
| tree | ea06196a857813e1fa3bd832da2ff1bcb3152e81 | |
| parent | 8f36614512d479fb76764bf013ad23550696c5a6 (diff) | |
| download | emacs-bf21c84f0d3dab33b4836098b789eaddf9492b2a.tar.gz emacs-bf21c84f0d3dab33b4836098b789eaddf9492b2a.zip | |
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.el | 2 |
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." | |||
| 3498 | c-state-old-cpp-end | 3498 | c-state-old-cpp-end |
| 3499 | c-parse-state-point)))) | 3499 | c-parse-state-point)))) |
| 3500 | (defun c-replay-parse-state-state () | 3500 | (defun c-replay-parse-state-state () |
| 3501 | (message | 3501 | (message "%s" |
| 3502 | (concat "(setq " | 3502 | (concat "(setq " |
| 3503 | (mapconcat | 3503 | (mapconcat |
| 3504 | (lambda (arg) | 3504 | (lambda (arg) |