[gnus git] branch master updated: =1= message.el (message-bury): Don't pop up a new window when selected window is dedicated.
Katsumi Yamaoka <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via e3fc7cb33eb07dd3b48cfc72f0cada1f1edbcb85 (commit)
from cbe96287503450f41e0f5b26177d888545380d02 (commit)
- Log -----------------------------------------------------------------
commit e3fc7cb33eb07dd3b48cfc72f0cada1f1edbcb85
Author: Stefan Monnier <[email protected]>
Date: Thu Feb 10 22:39:08 2011 +0000
message.el (message-bury): Don't pop up a new window when selected window is dedicated.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02ddfe1..82454fa 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-10 Stefan Monnier <[email protected]>
+
+ * message.el (message-bury): Don't pop up a new window when selected
+ window is dedicated.
+
2011-02-10 Antoine Levitt <[email protected]> (tiny change)
* gnus-sum.el (gnus-summary-save-parts): Use read-directory-name.
diff --git a/lisp/message.el b/lisp/message.el
index fe05bd1..bfe07e6 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -4055,11 +4055,11 @@ Instead, just auto-save the buffer and then bury it."
(defun message-bury (buffer)
"Bury this mail BUFFER."
- (let ((newbuf (other-buffer buffer)))
- (bury-buffer buffer)
(if message-return-action
- (apply (car message-return-action) (cdr message-return-action))
- (switch-to-buffer newbuf))))
+ (progn
+ (bury-buffer buffer)
+ (apply (car message-return-action) (cdr message-return-action)))
+ (with-current-buffer buffer (bury-buffer))))
(defun message-send (&optional arg)
"Send the message in the current buffer.
-----------------------------------------------------------------------
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/message.el | 10 +++++-----
2 files changed, 10 insertions(+), 5 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