changeset 102206:b6d52a7eb89f

Require gnus-msg instead of autoloading it for the gnus-setup-message macro.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 23 Feb 2009 07:12:07 +0000
parents 0f4ba7f17aa0
children c91f45a35322
files lisp/gnus/ChangeLog lisp/gnus/gnus-dired.el
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Mon Feb 23 05:06:36 2009 +0000
+++ b/lisp/gnus/ChangeLog	Mon Feb 23 07:12:07 2009 +0000
@@ -1,3 +1,8 @@
+2009-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* gnus-dired.el: Require gnus-msg instead of autoloading it for
+	the gnus-setup-message macro.
+
 2009-02-18  Katsumi Yamaoka  <yamaoka@jpl.org>
 
 	* gnus-nocem.el (gnus-nocem-groups): Remove invalid NoCeM groups.
--- a/lisp/gnus/gnus-dired.el	Mon Feb 23 05:06:36 2009 +0000
+++ b/lisp/gnus/gnus-dired.el	Mon Feb 23 07:12:07 2009 +0000
@@ -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.")