Commit 70c1d22f authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

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

parent 85309556
......@@ -5679,7 +5679,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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment