summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-dired.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2009-02-23 07:12:07 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2009-02-23 07:12:07 +0000
commit920b3f72ffba1c05d7333e4d30c7ca67287aeab2 (patch)
tree814393edf934cd160688bfaabcea98cfa00aad7f /lisp/gnus/gnus-dired.el
parenta20878b6d8caccb2b5bf38f02dccf28d10ea2223 (diff)
downloademacs-920b3f72ffba1c05d7333e4d30c7ca67287aeab2.tar.gz
Require gnus-msg instead of autoloading it for the gnus-setup-message macro.
Diffstat (limited to 'lisp/gnus/gnus-dired.el')
-rw-r--r--lisp/gnus/gnus-dired.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-dired.el b/lisp/gnus/gnus-dired.el
index 30099131771..c6639a285ac 100644
--- a/lisp/gnus/gnus-dired.el
+++ b/lisp/gnus/gnus-dired.el
@@ -53,9 +53,11 @@
;; Autoloads to avoid byte-compiler warnings. These are used only if the user
;; customizes `gnus-dired-mail-mode' to use Message and/or Gnus.
(autoload 'message-buffers "message")
-(autoload 'gnus-setup-message "gnus-msg")
(autoload 'gnus-print-buffer "gnus-sum")
+;; Load the `gnus-setup-message' macro that `gnus-dired-attach' uses.
+(require 'gnus-msg)
+
(defvar gnus-dired-mode nil
"Minor mode for intersections of MIME mail composition and dired.")