Mercurial > emacs
diff lisp/nxml/nxml-mode.el @ 111802:ec305a5ef324
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.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 02 Dec 2010 19:13:24 -0800 |
parents | c06fec785962 |
children | 417b1e4d63cd |
line wrap: on
line diff
--- 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