1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

(lisp-font-lock-keywords-2):

Recognize "& keywords" only at word boundaries.
This commit is contained in:
Thien-Thi Nguyen 2006-01-24 13:38:07 +00:00
parent bf7f1d30f5
commit 317921ec18
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-01-24 Tobias C. Rittweiler <tcr@freebits.de> (tiny change)
* font-lock.el (lisp-font-lock-keywords-2):
Recognize "& keywords" only at word boundaries.
2006-01-24 Nick Roberts <nickrob@snap.net.nz>
* thumbs.el (thumbs-extra-images): New variable. Make it buffer-local

View File

@ -2126,7 +2126,7 @@ other modes in which C preprocessor directives are used. e.g. `asm-mode' and
;; Constant values.
("\\<:\\sw+\\>" 0 font-lock-builtin-face)
;; ELisp and CLisp `&' keywords as types.
("\\&\\sw+\\>" . font-lock-type-face)
("\\<\\&\\sw+\\>" . font-lock-type-face)
;; ELisp regexp grouping constructs
((lambda (bound)
(catch 'found