summaryrefslogtreecommitdiff
path: root/lisp/nxml
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-12-02 19:13:24 -0800
committerGlenn Morris <rgm@gnu.org>2010-12-02 19:13:24 -0800
commitafe272389b0f7ecc92e79dabb91e444c7462a10a (patch)
tree242bf150ffdc4570c315cb1f860cf2ccbbb2bd15 /lisp/nxml
parent65beee52435bba0a8789f0589978a3291f734f54 (diff)
downloademacs-afe272389b0f7ecc92e79dabb91e444c7462a10a.tar.gz
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.
Diffstat (limited to 'lisp/nxml')
-rw-r--r--lisp/nxml/nxml-mode.el7
1 files changed, 4 insertions, 3 deletions
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