diff options
author | Alan Mackenzie <acm@muc.de> | 2019-04-23 09:16:05 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-04-23 09:16:05 +0000 |
commit | 0d5caa9a0c668d06ab650392bd52ad03a4dfbd1a (patch) | |
tree | 4de7b5bce32722274c6d153de30e042b1516890f /lisp/emacs-lisp/debug.el | |
parent | 085929ca9309a170b5b4252448f1291e3db2b594 (diff) | |
download | emacs-0d5caa9a0c668d06ab650392bd52ad03a4dfbd1a.tar.gz emacs-0d5caa9a0c668d06ab650392bd52ad03a4dfbd1a.tar.bz2 emacs-0d5caa9a0c668d06ab650392bd52ad03a4dfbd1a.zip |
Optimize for typing characters into long C++ raw strings.
* lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare)
(c-font-lock-objc-methods) (c-font-lock-declarations, c-font-lock-enum-tail)
(c-font-lock-cut-off-declarators, c-font-lock-enclosing-decls): If the chunk
been fontified consists entirely of comments and strings, don't attempt to
perform the function's action.
* lisp/progmodes/cc-mode.el (c-before-change-check-unbalanced-strings): Don't
expand (c-new-BEG c-new-END) unnecessarily to the entire raw string being
fontified.
(c-fl-decl-start, c-fl-decl-end): When in a (raw or otherwise) string, don't
return a position outside of the string (which used to cause unneeded
fontification).
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions