Fix previous commit: tell autoload that gnus-setup-message is a macro.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2009 10:56:29 +0000 (10:56 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 23 Feb 2009 10:56:29 +0000 (10:56 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-dired.el

index 77f6899..107ba0e 100644 (file)
@@ -1,7 +1,6 @@
 2009-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
 
-       * gnus-dired.el: Require gnus-msg instead of autoloading it for
-       the gnus-setup-message macro.
+       * gnus-dired.el: Tell autoload that gnus-setup-message is a macro.
 
 2009-02-18  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index c6639a2..0ad5ed1 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" nil nil 'macro)
 (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.")