diff options
author | Eli Zaretskii <eliz@gnu.org> | 2006-03-03 12:18:47 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2006-03-03 12:18:47 +0000 |
commit | ddb72af931020f643a7f0afff66e0eb80b4072ff (patch) | |
tree | f7472e55b31a7cb6f4f0aaea79a78ec1a257db15 /lisp | |
parent | b50f58d55f83b086f2a98ccc3a733f5254c96222 (diff) | |
download | emacs-ddb72af931020f643a7f0afff66e0eb80b4072ff.tar.gz |
(reg-generic-mode): Quote "]"s in regexps when they have no special meaning.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/generic-x.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 5b1d0bfb93d..55c4e482803 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el @@ -433,7 +433,7 @@ like an INI file. You can add this hook to `find-file-hook'." (define-generic-mode reg-generic-mode '(?\;) '("key" "classes_root" "REGEDIT" "REGEDIT4") - '(("\\(\\[.*]\\)" 1 font-lock-constant-face) + '(("\\(\\[.*\\]\\)" 1 font-lock-constant-face) ("^\\([^\n\r]*\\)\\s-*=" 1 font-lock-variable-name-face)) '("\\.[rR][eE][gG]\\'") (list |