]> git.eshelyaron.com Git - emacs.git/commitdiff
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 bbdceb519112721858f87624a7350d52d1d41be6..65bf233c03b8195a4952ed80a0b0928751f70bf9 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 7bc59bf1b69efb7ef01cccbb2e55b19ecf15c8ae..9c395dbf24a6a126a1b863714ef3339c3770506b 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)