From: Glenn Morris <rgm@gnu.org>
Date: Mon, 1 Nov 2010 01:51:22 +0000 (-0700)
Subject: Silence gnus-dired.el compilation.
X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~422^2~24
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=26205de35a42e752b2a90adfb55365ee4485f1bf;p=emacs.git

Silence gnus-dired.el compilation.
* lisp/gnus/gnus-dired.el (gnus-completing-read): Autoload.
---

diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 96c378c73d4..2c4e693f72c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,7 +1,7 @@
 2010-11-01  Glenn Morris  <rgm@gnu.org>
 
+	* gnus-dired.el (gnus-completing-read): Autoload.
 	* mm-view.el (gnus-rescale-image): Autoload.
-
 	* mm-decode.el (gnus-completing-read, gnus-blocked-images): Autoload.
 
 	* gnus.el (gnus-sloppily-equal-method-parameters): Move defn before use.
diff --git a/lisp/gnus/gnus-dired.el b/lisp/gnus/gnus-dired.el
index a12046f73b8..8b6d3911e11 100644
--- a/lisp/gnus/gnus-dired.el
+++ b/lisp/gnus/gnus-dired.el
@@ -1,7 +1,7 @@
 ;;; gnus-dired.el --- utility functions where gnus and dired meet
 
-;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004,
-;;   2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
+;;   2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Authors: Benjamin Rutt <brutt@bloomington.in.us>,
 ;;          Shenghuo Zhu <zsh@cs.rochester.edu>
@@ -122,6 +122,8 @@ See `mail-user-agent' for more information."
 	    (push (buffer-name buffer) buffers))))
       (nreverse buffers))))
 
+(autoload 'gnus-completing-read "gnus-util")
+
 ;; Method to attach files to a mail composition.
 (defun gnus-dired-attach (files-to-attach)
   "Attach dired's marked files to a gnus message composition.