From 56d95d0231f536e64cdf67c65537d4db4593093c Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 25 Sep 2010 13:43:27 +0000 Subject: [PATCH] gnus-ems.el (gnus-put-image):Don't put any non-blank text into the buffer when inserting images. --- lisp/gnus/ChangeLog | 6 ++++++ lisp/gnus/gnus-ems.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index bbdceb51911..65bf233c03b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,9 @@ +2010-09-25 Lars Magne Ingebrigtsen + + * 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 * rfc1843.el: Remove useless rfc1843-old-gnus-decode-header-function diff --git a/lisp/gnus/gnus-ems.el b/lisp/gnus/gnus-ems.el index 7bc59bf1b69..9c395dbf24a 100644 --- a/lisp/gnus/gnus-ems.el +++ b/lisp/gnus/gnus-ems.el @@ -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) -- 2.39.5