summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2006-01-24 13:38:07 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2006-01-24 13:38:07 +0000
commit317921ec180582ce33123d71fcc1beb1fe33bd19 (patch)
tree775dc06b1eae3c31fa882d4617f63f0c3da547de /lisp/font-lock.el
parentbf7f1d30f5e15d96df040bffe931275de92b5ebb (diff)
downloademacs-317921ec180582ce33123d71fcc1beb1fe33bd19.tar.gz
(lisp-font-lock-keywords-2):
Recognize "& keywords" only at word boundaries.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index be857838ad2..53f2df11d1d 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -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