From f2c884009053be5a380a55cf2dec226fc686286c Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Wed, 27 Feb 2013 10:25:55 -0500 Subject: * lisp/font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of &optional. Fixes: debbugs:13819 --- lisp/font-lock.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/font-lock.el') diff --git a/lisp/font-lock.el b/lisp/font-lock.el index e5ce4db171b..9436012ee59 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -2336,9 +2336,9 @@ in which C preprocessor directives are used. e.g. `asm-mode' and ("`\\(\\(?:\\sw\\|\\s_\\)\\(?:\\sw\\|\\s_\\)+\\)'" (1 font-lock-constant-face prepend)) ;; Constant values. - ("\\<:\\(?:\\sw\\|\\s_\\)+\\>" 0 font-lock-builtin-face) + ("\\_<:\\(?:\\sw\\|\\s_\\)+\\_>" 0 font-lock-builtin-face) ;; ELisp and CLisp `&' keywords as types. - ("\\<\\&\\(?:\\sw\\|\\s_\\)+\\>" . font-lock-type-face) + ("\\_<\\&\\(?:\\sw\\|\\s_\\)+\\_>" . font-lock-type-face) ;; ELisp regexp grouping constructs ((lambda (bound) (catch 'found -- cgit v1.2.1