diff options
author | Alan Mackenzie <acm@muc.de> | 2020-12-14 20:44:33 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2020-12-14 20:44:33 +0000 |
commit | 071bfd9840b1048bdc4f2c461fe50bd33dc919e8 (patch) | |
tree | 1bb3ce46c2038b6a3ccd41a99e7b9c36e0bad79e /lisp/emacs-lisp/lisp-mode.el | |
parent | 9022df70270243f211c54ccd66800320148b8434 (diff) | |
download | emacs-071bfd9840b1048bdc4f2c461fe50bd33dc919e8.tar.gz emacs-071bfd9840b1048bdc4f2c461fe50bd33dc919e8.tar.bz2 emacs-071bfd9840b1048bdc4f2c461fe50bd33dc919e8.zip |
Optimise c-font-lock-<>-arglists, particularly for buffers with few <..> pairs
* lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): In place of a regexp
search for a complicated and slow regexp, search simply for "<" ouside of
literals together with add hoc testing of other requirements for a <...>
match.
* lisp/progmodes/cc-langs.el (c-nonsymbol-key): New c-lang-defvar from the
c-lang-const.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions