projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2095aa6
)
gnus-art.el (gnus-mm-display-part): Fix previous commit
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 Apr 2014 04:20:56 +0000
(
04:20
+0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 Apr 2014 04:20:56 +0000
(
04:20
+0000)
lisp/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus-art.el
b/lisp/gnus-art.el
index
7f987b8
..
0b2d17f
100644
(file)
--- 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))