From afe272389b0f7ecc92e79dabb91e444c7462a10a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 2 Dec 2010 19:13:24 -0800 Subject: 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. --- lisp/nxml/nxml-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lisp/nxml') diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index df614741c53..d1cffdd38a2 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el @@ -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 -- cgit v1.2.1