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

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


- Log -----------------------------------------------------------------
commit b5ae30598bc72ca95bdb56db70911fb8601547e4
Author: Katsumi Yamaoka <[email protected]>
Date:   Wed Apr 30 04:20:56 2014 +0000

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

diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 7f987b8..0b2d17f 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -5680,7 +5680,11 @@ all parts."
 	(delete-region (previous-single-property-change end 'gnus-data) end))
       (gnus-insert-mime-button
        handle id (list (mm-handle-displayed-p handle)))
-      (delete-char -1)
+      (let ((pt (point)))
+	(if (search-backward "\n\n" nil t)
+	    (goto-char pt)
+	  ;; We're in the article header.
+	  (delete-char -1)))
       (goto-char point))
     retval))
 

-----------------------------------------------------------------------
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, 5 insertions(+), 1 deletion(-)

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