]> code.delx.au - gnu-emacs/blobdiff - lisp/nxml/nxml-parse.el
Merge from origin/emacs-25
[gnu-emacs] / lisp / nxml / nxml-parse.el
index ecf9056358b323a73f4ec393dbb8d332c6b7c9b8..edf012921a9223aeb6775214da1cd10ec7dd775a 100644 (file)
@@ -1,6 +1,6 @@
-;;; nxml-parse.el --- XML parser, sharing infrastructure with nxml-mode
+;;; nxml-parse.el --- XML parser, sharing infrastructure with nxml-mode  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2003, 2007-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2007-2016 Free Software Foundation, Inc.
 
 ;; Author: James Clark
 ;; Keywords: wp, hypermedia, languages, XML
@@ -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