]> code.delx.au - gnu-emacs/commitdiff
* lisp/font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Wed, 27 Feb 2013 15:25:55 +0000 (10:25 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 27 Feb 2013 15:25:55 +0000 (10:25 -0500)
&optional.

Fixes: debbugs:13819
lisp/ChangeLog
lisp/font-lock.el

index e69c6be3dcb94b31b7104cfdaa947c77f2dd09be..822a4a268704634bc24c0a94ccce210597597d74 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
+
+       * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
+       &optional (bug#13819).
+
 2013-02-27  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-adb.el (tramp-adb-parse-device-names)
@@ -5,8 +10,8 @@
 
 2013-02-26  Michael Albinus  <michael.albinus@gmx.de>
 
-       * net/tramp-sh.el (tramp-sh-handle-insert-directory): Add
-       "2>/dev/null" to the ls command, in case "en_US.utf8" is not
+       * net/tramp-sh.el (tramp-sh-handle-insert-directory):
+       Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
        defined.  POSIX environments fall back to the "C" locale then and
        emit a warning, which shall be suppressed.
 
index e5ce4db171bbe33bfc5a3255388c09c9a0a09a40..9436012ee59dbe21165299c7ca0c906299a972e6 100644 (file)
@@ -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