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 | bf553335438459f1fd83f398711cf80bdc7bbb4b (patch) | |
tree | 4f23d0a6b55a741c4cea8172c02c19ee80650162 /lisp/font-lock.el | |
parent | ed3e9522073ac12a35c06b5fba171f56dbc8eeed (diff) | |
download | emacs-bf553335438459f1fd83f398711cf80bdc7bbb4b.tar.gz |
(lisp-font-lock-keywords-2): Quote "]"s in regexps when they have no
special meaning.
Diffstat (limited to 'lisp/font-lock.el')
-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. |