]> git.eshelyaron.com Git - emacs.git/commit
Fix the formatting of '\' (including apostrophes) in CC Mode.
authorAlan Mackenzie <acm@muc.de>
Fri, 26 Apr 2019 01:15:00 +0000 (01:15 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 26 Apr 2019 01:15:00 +0000 (01:15 +0000)
commita0bb2588b8fc79ac8e040fd7a8d8d3d0e158ffa0
tree955c186c6fa37605887f8f63e661e31785aefedb
parent80822917736edbab77969c4a18dfb8dd20fe3a88
Fix the formatting of '\' (including apostrophes) in CC Mode.

In particular, the second apostrophe must also get font-lock-warning-face.

* lisp/progmodes/cc-mode.el (c-parse-quotes-before-change)
(c-parse-quotes-after-change): Add cond arms to recognize and handle the
anomalous construct '\'.  Correct the handling of c-new-BEG in
c-parse-quotes-before-change.
lisp/progmodes/cc-mode.el