changeset 102209:14fd6b368bb8

Fix previous commit: tell autoload that gnus-setup-message is a macro.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 23 Feb 2009 10:56:29 +0000
parents 9af17afa1c07
children d7624c39682b
files lisp/gnus/ChangeLog lisp/gnus/gnus-dired.el
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Mon Feb 23 08:07:31 2009 +0000
+++ b/lisp/gnus/ChangeLog	Mon Feb 23 10:56:29 2009 +0000
@@ -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>
 
--- a/lisp/gnus/gnus-dired.el	Mon Feb 23 08:07:31 2009 +0000
+++ b/lisp/gnus/gnus-dired.el	Mon Feb 23 10:56:29 2009 +0000
@@ -53,11 +53,9 @@
 ;; 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.")