aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorAlan Mackenzie2020-12-14 20:44:33 +0000
committerAlan Mackenzie2020-12-14 20:44:33 +0000
commit071bfd9840b1048bdc4f2c461fe50bd33dc919e8 (patch)
tree1bb3ce46c2038b6a3ccd41a99e7b9c36e0bad79e /src/buffer.c
parent9022df70270243f211c54ccd66800320148b8434 (diff)
downloademacs-071bfd9840b1048bdc4f2c461fe50bd33dc919e8.tar.gz
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 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions