summaryrefslogtreecommitdiff
path: root/lisp/nxml/rng-match.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/nxml/rng-match.el')
-rw-r--r--lisp/nxml/rng-match.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/rng-match.el b/lisp/nxml/rng-match.el
index 8ebb573dcc3..ef55e85f300 100644
--- a/lisp/nxml/rng-match.el
+++ b/lisp/nxml/rng-match.el
@@ -1504,7 +1504,7 @@ nullable and y1 isn't, return a choice
(defun rng-compile-error (&rest args)
(signal 'rng-compile-error
- (list (apply 'format args))))
+ (list (apply #'format-message args))))
(define-error 'rng-compile-error "Incorrect schema" 'rng-error)