summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2022-06-18 16:41:57 +0000
committerAlan Mackenzie <acm@muc.de>2022-06-18 16:41:57 +0000
commit9b44824620fd500b9e7094bd1a8ca23608cb2e5b (patch)
tree77f38c458cc3c191e08edb30f884c00b4f49f69b /lisp/emacs-lisp
parent7e1f84fa3bc7dfd84415813889c91070c0759da2 (diff)
downloademacs-9b44824620fd500b9e7094bd1a8ca23608cb2e5b.tar.gz
emacs-9b44824620fd500b9e7094bd1a8ca23608cb2e5b.tar.bz2
emacs-9b44824620fd500b9e7094bd1a8ca23608cb2e5b.zip
CC Mode: Add accurate handling for backslash in C line and block comments
This is needed to handle the idiosyncratic meaning of backslash in comments in the C and C++ standards. * lisp/progmodes/cc-engine.el: Correct a spelling error. * lisp/progmodes/cc-mode.el (c-before-change-fix-comment-escapes) (c-after-change-fix-comment-escapes): New functions. * lisp/progmodes/cc-langs.el (c-get-state-before-change-functions): Add c-before-change-fix-comment-escapes to the C/Objc and C++ values. (c-before-font-lock-functions): Add c-after-change-fix-comment-escapes to the C/Objc and C++ values.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions