[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102564: Silence nxml-mode.el compila
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102564: Silence nxml-mode.el compilation. |
Date: |
Thu, 02 Dec 2010 19:13:24 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102564
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2010-12-02 19:13:24 -0800
message:
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.
modified:
lisp/ChangeLog
lisp/nxml/nxml-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-12-03 03:10:25 +0000
+++ b/lisp/ChangeLog 2010-12-03 03:13:24 +0000
@@ -1,5 +1,9 @@
2010-12-03 Glenn Morris <address@hidden>
+ * 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.
=== modified file 'lisp/nxml/nxml-mode.el'
--- a/lisp/nxml/nxml-mode.el 2010-12-03 03:10:25 +0000
+++ b/lisp/nxml/nxml-mode.el 2010-12-03 03:13:24 +0000
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102564: Silence nxml-mode.el compilation.,
Glenn Morris <=