Commit 56d95d02 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka

gnus-ems.el (gnus-put-image):Don't put any non-blank text into the buffer when inserting images.

parent a41db107
2010-09-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-ems.el (gnus-put-image): Don't put any non-blank text into the
buffer when inserting images. Inserting text into the headers, for
instance, can make them invalid.
2010-09-25 Julien Danjou <julien@danjou.info>
* rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function
......
......@@ -276,7 +276,7 @@
(defun gnus-put-image (glyph &optional string category)
(let ((point (point)))
(insert-image glyph (or string "*"))
(insert-image glyph (or string " "))
(put-text-property point (point) 'gnus-image-category category)
(unless string
(put-text-property (1- (point)) (point)
......
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