diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2006-03-03 12:18:17 +0000 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2006-03-03 12:18:17 +0000 |
| commit | b50f58d55f83b086f2a98ccc3a733f5254c96222 (patch) | |
| tree | 94005431e6673880ab3644652b425f23a2d8af42 | |
| parent | c60168d2e1f2fbd71bb77a9f04228c3bee268798 (diff) | |
| download | emacs-b50f58d55f83b086f2a98ccc3a733f5254c96222.tar.gz | |
(lisp-font-lock-keywords-2): Quote "]"s in regexps when they have no
special meaning.
| -rw-r--r-- | lisp/font-lock.el | 2 |
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 ;; 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. |
