# HG changeset patch # User Thien-Thi Nguyen # Date 1138109776 0 # Node ID 8c8d4f7c9da5b1d31934dbe0c779397ecfea6e14 # Parent 77c90a279caf196d2e35864da1ffaf06a1ab8fd7 (lisp-font-lock-keywords-2): Recognize "& keywords" only at word boundaries. diff -r 77c90a279caf -r 8c8d4f7c9da5 lisp/font-lock.el --- 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