summaryrefslogtreecommitdiff
path: root/lisp/nxml/rng-loc.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/rng-loc.el')
-rw-r--r--lisp/nxml/rng-loc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/rng-loc.el b/lisp/nxml/rng-loc.el
index a9a1950822d..75d983189a5 100644
--- a/lisp/nxml/rng-loc.el
+++ b/lisp/nxml/rng-loc.el
@@ -407,7 +407,7 @@ or nil."
"Return a list of rules for the schema locating file FILE."
(setq file (expand-file-name file))
(let ((cached (assoc file rng-schema-locating-file-alist))
- (mtime (nth 5 (file-attributes file)))
+ (mtime (file-attribute-modification-time (file-attributes file)))
parsed)
(cond ((not mtime)
(when cached