]> code.delx.au - gnu-emacs/blobdiff - lisp/nxml/rng-match.el
Update copyright year to 2016
[gnu-emacs] / lisp / nxml / rng-match.el
index 10b8f2b0b4c3b7508a14ca2129314d6abae2a83b..df9c01925579ed0811bbd75f18e15bcb2bdaca42 100644 (file)
@@ -1,9 +1,9 @@
 ;;; rng-match.el --- matching of RELAX NG patterns against XML events  -*- lexical-binding:t -*-
 
-;; Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc.
+;; Copyright (C) 2003, 2007-2016 Free Software Foundation, Inc.
 
 ;; Author: James Clark
-;; Keywords: XML, RelaxNG
+;; Keywords: wp, hypermedia, languages, XML, RelaxNG
 
 ;; This file is part of GNU Emacs.
 
@@ -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)