summaryrefslogtreecommitdiff
path: root/lisp/nxml
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-05-06 19:16:49 +0200
committerPhilipp <phst@google.com>2017-05-07 13:22:34 +0200
commit3c4c8ca06e3306ccbcd07e354eb51abe53b52d22 (patch)
tree01542b123bede1a9d6d9b05ec1dbf2089e9a76bd /lisp/nxml
parentbcbd8f7e4e929604bb3dfef9937432cb05b5f648 (diff)
downloademacs-3c4c8ca06e3306ccbcd07e354eb51abe53b52d22.tar.gz
Fix all unescaped character literals
Diffstat (limited to 'lisp/nxml')
-rw-r--r--lisp/nxml/xsd-regexp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/xsd-regexp.el b/lisp/nxml/xsd-regexp.el
index 6acb1ff9d41..d56960c9fa9 100644
--- a/lisp/nxml/xsd-regexp.el
+++ b/lisp/nxml/xsd-regexp.el
@@ -621,7 +621,7 @@ whose value is a range-list."
(defun xsdre-parse-escape ()
(let ((ch (car xsdre-current-regexp)))
(xsdre-advance)
- (cond ((memq ch '(?\\ ?| ?. ?- ?^ ?* ?+ ?( ?) ?{ ?} ?[ ?])) ch)
+ (cond ((memq ch '(?\\ ?| ?. ?- ?^ ?* ?+ ?\( ?\) ?{ ?} ?\[ ?\])) ch)
((eq ch ?r) ?\r)
((eq ch ?n) ?\n)
((eq ch ?t) ?\t)