aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorStefan Monnier2001-11-18 02:10:01 +0000
committerStefan Monnier2001-11-18 02:10:01 +0000
commit2d5eba0eb7dbdaa7be591131384ea14c20167b9b (patch)
tree913348d19da75aafe1d2fe432412ccacf6e3fa4d /src/buffer.c
parentd6b3b5f4f8fcd64c1131fec3794da47eed278b4b (diff)
downloademacs-2d5eba0eb7dbdaa7be591131384ea14c20167b9b.tar.gz
emacs-2d5eba0eb7dbdaa7be591131384ea14c20167b9b.zip
(font-lock-compile-keywords): New arg `regexp'.
If set and if applicable, add a regexp to highlight defun-like text inside comments and strings. (font-lock-fontify-keywords-region): Pass that new arg. (font-lock-set-defaults): Move the code to set `font-lock-keywords' to the end and pass that new arg. (c-font-lock-keywords-2): Fix regex for labels. (font-lock-match-c++-style-declaration-item-and-skip-to-next): Make it work when LIMIT is several lines further. (c-font-lock-keywords-3, c++-font-lock-keywords-3) (objc-font-lock-keywords-3, java-font-lock-keywords-3): Use backquote and make the regexes for `int a, b, c;' work on multiple lines.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions