aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-03-03 12:18:17 +0000
committerEli Zaretskii2006-03-03 12:18:17 +0000
commitb50f58d55f83b086f2a98ccc3a733f5254c96222 (patch)
tree94005431e6673880ab3644652b425f23a2d8af42
parentc60168d2e1f2fbd71bb77a9f04228c3bee268798 (diff)
downloademacs-b50f58d55f83b086f2a98ccc3a733f5254c96222.tar.gz
emacs-b50f58d55f83b086f2a98ccc3a733f5254c96222.zip
(lisp-font-lock-keywords-2): Quote "]"s in regexps when they have no
special meaning.
-rw-r--r--lisp/font-lock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 53f2df11d1d..47d2267dbea 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -2120,7 +2120,7 @@ other modes in which C preprocessor directives are used. e.g. `asm-mode' and
2120 ;; Erroneous structures. 2120 ;; Erroneous structures.
2121 ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face) 2121 ("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face)
2122 ;; Words inside \\[] tend to be for `substitute-command-keys'. 2122 ;; Words inside \\[] tend to be for `substitute-command-keys'.
2123 ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) 2123 ("\\\\\\\\\\[\\(\\sw+\\)\\]" 1 font-lock-constant-face prepend)
2124 ;; Words inside `' tend to be symbol names. 2124 ;; Words inside `' tend to be symbol names.
2125 ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend) 2125 ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend)
2126 ;; Constant values. 2126 ;; Constant values.