changeset 68364:8c8d4f7c9da5

(lisp-font-lock-keywords-2): Recognize "& keywords" only at word boundaries.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Tue, 24 Jan 2006 13:36:16 +0000
parents 77c90a279caf
children 72d2da82303c
files lisp/font-lock.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Tue Jan 24 07:59:23 2006 +0000
+++ b/lisp/font-lock.el	Tue Jan 24 13:36:16 2006 +0000
@@ -2126,7 +2126,7 @@
        ;; 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