[gnus git] branch master updated: n0-15-97-g57e696f =1= * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 57e696f85f20423a661c9d10eb04ac624a8cb32d (commit)
from 8ea8c66caa7ea01e9284a6c25c1ebf619e6ece81 (commit)
- Log -----------------------------------------------------------------
commit 57e696f85f20423a661c9d10eb04ac624a8cb32d
Author: Stefan Monnier <[email protected]>
Date: Sun May 1 20:00:44 2011 +0200
* gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has moved to a different frame.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2ed7b29..a4a351f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-01 Stefan Monnier <[email protected]>
+
+ * gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary
+ buffer has moved to a different frame.
+
2011-05-01 Lars Magne Ingebrigtsen <[email protected]>
* nnimap.el (nnimap-request-article): Use nntp-insert-buffer-substring
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 807f133..3cbb479 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -7783,7 +7783,8 @@ If BACKWARD, the previous article is selected instead of the next."
;; Somehow or other, we may now have selected a different
;; window. Make point go back to the summary buffer.
(when (eq current-summary (current-buffer))
- (select-window (get-buffer-window current-summary)))
+ ;; FIXME: This burps when get-buffer-window returns nil.
+ (select-window (get-buffer-window current-summary 0)))
(gnus-summary-walk-group-buffer
gnus-newsgroup-name cmd unread backward point))))))))
-----------------------------------------------------------------------
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-sum.el | 3 ++-
2 files changed, 7 insertions(+), 1 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