gnus-ems.el (gnus-put-image):Don't put any non-blank text into the buffer when insert...
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 25 Sep 2010 13:43:27 +0000 (13:43 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sat, 25 Sep 2010 13:43:27 +0000 (13:43 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-ems.el

index bbdceb5..65bf233 100644 (file)
@@ -1,3 +1,9 @@
+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
index 7bc59bf..9c395db 100644 (file)
 
 (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)