[gnus git] branch master updated: m0-9-90-gb8984b3 =1= gnus-art.el (gnus-mm-display-part): Fix previous commit (again)

Katsumi Yamaoka <[email protected]> Wed, 30 Apr 2014 11:21:04 +0200
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  b8984b316f51897bcd2b03407ee8ca54672cd5ac (commit)
      from  b5ae30598bc72ca95bdb56db70911fb8601547e4 (commit)


- Log -----------------------------------------------------------------
commit b8984b316f51897bcd2b03407ee8ca54672cd5ac
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Apr 30 09:20:57 2014 +0000

    gnus-art.el (gnus-mm-display-part): Fix previous commit (again)

diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 0b2d17f..9c8004f 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -5672,8 +5672,6 @@ all parts."
 		 nil id
 		 (gnus-article-mime-total-parts)
 		 (mm-handle-media-type handle))))))
-      (if (window-live-p window)
-	  (select-window window))
       (goto-char point)
       ;; Toggle the button appearance between `[button]...' and `[button]'.
       (let ((end (next-single-property-change point 'gnus-data)))
@@ -5685,7 +5683,9 @@ all parts."
 	    (goto-char pt)
 	  ;; We're in the article header.
 	  (delete-char -1)))
-      (goto-char point))
+      (goto-char point)
+      (if (window-live-p window)
+	  (select-window window)))
     retval))
 
 (defun gnus-article-goto-part (n)

-----------------------------------------------------------------------
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/gnus-art.el |    6 +++---
 1 file changed, 3 insertions(+), 3 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