summaryrefslogtreecommitdiff
path: root/lisp/nxml/nxml-parse.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/nxml-parse.el')
-rw-r--r--lisp/nxml/nxml-parse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/nxml-parse.el b/lisp/nxml/nxml-parse.el
index c0a8497970c..d8523ee9dbe 100644
--- a/lisp/nxml/nxml-parse.el
+++ b/lisp/nxml/nxml-parse.el
@@ -304,7 +304,7 @@ same way as well-formedness error."
(defun nxml-parse-error (position &rest args)
(nxml-signal-file-parse-error nxml-parse-file-name
(or position xmltok-start)
- (apply 'format args)))
+ (apply #'format-message args)))
(defun nxml-check-xmltok-errors ()
(when xmltok-errors