summaryrefslogtreecommitdiff
path: root/lisp/nxml/rng-xsd.el
diff options
context:
space:
mode:
authorYuanle Song <sylecn@gmail.com>2011-05-22 15:46:47 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-05-22 15:46:47 -0400
commit92a9cc651ac716a90f87bc1e256c16ed1fa220cc (patch)
treeb362cd8740a34a4120e531f27309897268ef0e1f /lisp/nxml/rng-xsd.el
parentf3d4e0a47d33eb0c7061784b5705a9145740cd69 (diff)
downloademacs-92a9cc651ac716a90f87bc1e256c16ed1fa220cc.tar.gz
Make rng-xsd-check-pattern case sensitive (Bug#8516).
* nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive matching.
Diffstat (limited to 'lisp/nxml/rng-xsd.el')
-rw-r--r--lisp/nxml/rng-xsd.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/rng-xsd.el b/lisp/nxml/rng-xsd.el
index 266f8daac9e..b481039fdab 100644
--- a/lisp/nxml/rng-xsd.el
+++ b/lisp/nxml/rng-xsd.el
@@ -238,7 +238,7 @@ must be equal."
obj)))
(defun rng-xsd-check-pattern (str regexp convert &rest args)
- (and (string-match regexp str)
+ (and (let ((case-fold-search nil)) (string-match regexp str))
(apply convert (cons str args))))