# HG changeset patch # User Glenn Morris # Date 1291346004 28800 # Node ID ec305a5ef324d4498fc6725e0b6333aef131b244 # Parent c06fec785962cde9ee83d48479c77e971445b235 Silence nxml-mode.el compilation. * lisp/nxml/nxml-mode.el: Require rng-nxml. (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets): Remove declarations. diff -r c06fec785962 -r ec305a5ef324 lisp/ChangeLog --- a/lisp/ChangeLog Thu Dec 02 19:10:25 2010 -0800 +++ b/lisp/ChangeLog Thu Dec 02 19:13:24 2010 -0800 @@ -1,5 +1,9 @@ 2010-12-03 Glenn Morris + * nxml/nxml-mode.el: Require rng-nxml. + (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets): + Remove declarations. + * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el: * nxml/rng-nxml.el, nxml/rng-valid.el: Remove leading `*' from defcustom docs. diff -r c06fec785962 -r ec305a5ef324 lisp/nxml/nxml-mode.el --- a/lisp/nxml/nxml-mode.el Thu Dec 02 19:10:25 2010 -0800 +++ b/lisp/nxml/nxml-mode.el Thu Dec 02 19:13:24 2010 -0800 @@ -38,9 +38,10 @@ (require 'nxml-util) (require 'nxml-rap) (require 'nxml-outln) - -(declare-function rng-nxml-mode-init "rng-nxml") -(declare-function nxml-enable-unicode-char-name-sets "nxml-uchnm") +;; nxml-mode calls rng-nxml-mode-init, which is autoloaded from rng-nxml. +;; So we might as well just require it and silence the compiler. +(provide 'nxml-mode) ; avoid recursive require +(require 'rng-nxml) ;;; Customization