aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus
diff options
context:
space:
mode:
authorKatsumi Yamaoka <[email protected]>2011-07-04 06:40:46 +0000
committerKatsumi Yamaoka <[email protected]>2011-07-04 06:40:46 +0000
commit8db5f6627827ad5b230a9f8e2ca92815793c7d5a (patch)
tree173cd39cc2d3064b0fc7061407b23103a279b66a /lisp/gnus
parent396cec7251b26e5d37e9359dbf6a1b63c8f3a9e2 (diff)
nndraft.el: Require gnus-group.
(nndraft-request-list): Declare.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/ChangeLog3
-rw-r--r--lisp/gnus/nndraft.el7
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index d621333f28..e5f6250c76 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,8 @@
2011-07-04 Katsumi Yamaoka <[email protected]>
+ * nndraft.el: Require gnus-group.
+ (nndraft-request-list): Declare.
+
* nndraft.el (nndraft-update-unread-articles): Don't show group having
no unread article unless it matches gnus-permanently-visible-groups.
diff --git a/lisp/gnus/nndraft.el b/lisp/gnus/nndraft.el
index 459778bf4b..f528222dd1 100644
--- a/lisp/gnus/nndraft.el
+++ b/lisp/gnus/nndraft.el
@@ -24,14 +24,21 @@
;;; Code:
+;; For Emacs <22.2 and XEmacs.
+(eval-and-compile
+ (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
+
(require 'nnheader)
(require 'nnmail)
(require 'gnus-start)
+(require 'gnus-group)
(require 'nnmh)
(require 'nnoo)
(require 'mm-util)
(eval-when-compile (require 'cl))
+(declare-function nndraft-request-list "nnmh" (&rest args))
+
(nnoo-declare nndraft
nnmh)