Require gnus-msg instead of autoloading it for the gnus-setup-message macro.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2009 07:12:07 +0000 (07:12 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2009 07:12:07 +0000 (07:12 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-dired.el

index 5723934..77f6899 100644 (file)
@@ -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.
index 3009913..c6639a2 100644 (file)
 ;; 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.")