diff lisp/font-lock.el @ 69264:322d4f69063b

(lisp-font-lock-keywords-2): Quote "]"s in regexps when they have no special meaning.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 03 Mar 2006 12:18:17 +0000
parents 8c8d4f7c9da5
children 0c2790d73955 a380ca43a190 a7364c1a561e
line wrap: on
line diff
--- a/lisp/font-lock.el	Fri Mar 03 12:12:06 2006 +0000
+++ b/lisp/font-lock.el	Fri Mar 03 12:18:17 2006 +0000
@@ -2120,7 +2120,7 @@
        ;; Erroneous structures.
        ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face)
        ;; Words inside \\[] tend to be for `substitute-command-keys'.
-       ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend)
+       ("\\\\\\\\\\[\\(\\sw+\\)\\]" 1 font-lock-constant-face prepend)
        ;; Words inside `' tend to be symbol names.
        ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend)
        ;; Constant values.