From b8984b316f51897bcd2b03407ee8ca54672cd5ac Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Wed, 30 Apr 2014 09:20:57 +0000 Subject: [PATCH 1/1] gnus-art.el (gnus-mm-display-part): Fix previous commit (again) --- lisp/gnus-art.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 0b2d17fe9..9c8004f81 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) -- 2.25.1