summaryrefslogtreecommitdiff
path: root/lisp/nxml/rng-uri.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/rng-uri.el')
-rw-r--r--lisp/nxml/rng-uri.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/rng-uri.el b/lisp/nxml/rng-uri.el
index b93624a4f22..43218ec7c88 100644
--- a/lisp/nxml/rng-uri.el
+++ b/lisp/nxml/rng-uri.el
@@ -85,7 +85,7 @@ Signal an error if URI is not a valid file URL."
((not (string= (downcase scheme) "file"))
(rng-uri-error "URI `%s' does not use the `file:' scheme" uri)))
(when (not (member authority
- (cons system-name '(nil "" "localhost"))))
+ (cons (system-name) '(nil "" "localhost"))))
(rng-uri-error "URI `%s' does not start with `file:///' or `file://localhost/'"
uri))
(when query