aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-03-03 12:18:47 +0000
committerEli Zaretskii2006-03-03 12:18:47 +0000
commitddb72af931020f643a7f0afff66e0eb80b4072ff (patch)
treef7472e55b31a7cb6f4f0aaea79a78ec1a257db15
parentb50f58d55f83b086f2a98ccc3a733f5254c96222 (diff)
downloademacs-ddb72af931020f643a7f0afff66e0eb80b4072ff.tar.gz
emacs-ddb72af931020f643a7f0afff66e0eb80b4072ff.zip
(reg-generic-mode): Quote "]"s in regexps when they have no special meaning.
-rw-r--r--lisp/generic-x.el2
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'."
433(define-generic-mode reg-generic-mode 433(define-generic-mode reg-generic-mode
434 '(?\;) 434 '(?\;)
435 '("key" "classes_root" "REGEDIT" "REGEDIT4") 435 '("key" "classes_root" "REGEDIT" "REGEDIT4")
436 '(("\\(\\[.*]\\)" 1 font-lock-constant-face) 436 '(("\\(\\[.*\\]\\)" 1 font-lock-constant-face)
437 ("^\\([^\n\r]*\\)\\s-*=" 1 font-lock-variable-name-face)) 437 ("^\\([^\n\r]*\\)\\s-*=" 1 font-lock-variable-name-face))
438 '("\\.[rR][eE][gG]\\'") 438 '("\\.[rR][eE][gG]\\'")
439 (list 439 (list