Use a blank text as the insertion string to avoid making the From headers syntactical...
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 6 Nov 2010 22:48:54 +0000 (23:48 +0100)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 6 Nov 2010 22:48:54 +0000 (23:48 +0100)
lisp/ChangeLog
lisp/gnus-ems.el

index 51c35bd..2fdab57 100644 (file)
@@ -1,5 +1,8 @@
 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 2010-11-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-ems.el (gnus-put-image): Use a blank text as the insertion
+       string to avoid making the From headers syntactically invalid.
+
        * message.el (message-send-mail): Don't insert courtesy messages if the
        message already has List-Post and List-ID messages.
 
        * message.el (message-send-mail): Don't insert courtesy messages if the
        message already has List-Post and List-ID messages.
 
index 3a79e67..d7d9076 100644 (file)
 
 (defun gnus-put-image (glyph &optional string category)
   (let ((point (point)))
 
 (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)
     (put-text-property point (point) 'gnus-image-category category)
     (unless string
       (put-text-property (1- (point)) (point)