[gnus git] branch master updated: m0-5-153-g096cf3c =1= * gnus-dired.el (gnus-dired-attach): Attach to last used message buffer by default. Patch provided by Stephen Eglen.

Tassilo Horn <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  096cf3c5e5c9b8ea1db0173c2d103702f7296fe1 (commit)
      from  804baacdac979f53f68f72c487afee923641fe35 (commit)


- Log -----------------------------------------------------------------
commit 096cf3c5e5c9b8ea1db0173c2d103702f7296fe1
Author: Tassilo Horn <[email protected]>
Date:   Thu Oct 25 11:06:16 2012 +0200

    * gnus-dired.el (gnus-dired-attach): Attach to last used message buffer
    by default.  Patch provided by Stephen Eglen.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 08f209c..7cd3588 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-25  Tassilo Horn  <[email protected]>
+
+	* gnus-dired.el (gnus-dired-attach): Attach to last used message buffer
+	by default.  Patch provided by Stephen Eglen.
+
 2012-10-25  Katsumi Yamaoka  <[email protected]>
 
 	* dgnushack.el (define-compiler-macro): Add autoload for XEmacs 21.4
diff --git a/lisp/gnus-dired.el b/lisp/gnus-dired.el
index d341cea..e15a6c7 100644
--- a/lisp/gnus-dired.el
+++ b/lisp/gnus-dired.el
@@ -155,8 +155,8 @@ filenames."
 	  (setq destination
 		(if (= (length bufs) 1)
 		    (get-buffer (car bufs))
-		  (gnus-completing-read "Attach to which mail composition buffer"
-                                         bufs t)))
+		  (gnus-completing-read "Attach to buffer"
+                                         bufs t nil nil (car bufs))))
 	;; setup a new mail composition buffer
 	(let ((mail-user-agent gnus-dired-mail-mode)
 	      ;; A workaround to prevent Gnus from displaying the Gnus

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog     |    5 +++++
 lisp/gnus-dired.el |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.