summaryrefslogtreecommitdiff
path: root/lisp/nxml/nxml-outln.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/nxml-outln.el')
-rw-r--r--lisp/nxml/nxml-outln.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/nxml-outln.el b/lisp/nxml/nxml-outln.el
index a8dc5b158b2..c87cd5378fa 100644
--- a/lisp/nxml/nxml-outln.el
+++ b/lisp/nxml/nxml-outln.el
@@ -1003,7 +1003,7 @@ immediately after the section's start-tag."
;;; Error handling
(defun nxml-report-outline-error (msg err)
- (error msg (apply 'format (cdr err))))
+ (error msg (apply #'format-message (cdr err))))
(defun nxml-outline-error (&rest args)
(signal 'nxml-outline-error args))