From afe272389b0f7ecc92e79dabb91e444c7462a10a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 2 Dec 2010 19:13:24 -0800 Subject: [PATCH] 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/ChangeLog | 4 ++++ lisp/nxml/nxml-mode.el | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f0ecd731fa8..f8ef108670a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --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 -- 2.39.5