[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lisp font-lock.el
From: |
Stefan Monnier |
Subject: |
[Emacs-commit] emacs/lisp font-lock.el |
Date: |
Sat, 17 Nov 2001 21:10:02 -0500 |
CVSROOT: /cvs
Module name: emacs
Changes by: Stefan Monnier <monnier+gnu/address@hidden> 01/11/17
21:10:02
Modified files:
lisp : font-lock.el
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/font-lock.el.diff?tr1=1.184&tr2=1.185&r1=text&r2=text
- [Emacs-commit] emacs/lisp font-lock.el,
Stefan Monnier <=