From: Lars Magne Ingebrigtsen Date: Sat, 25 Sep 2010 13:43:27 +0000 (+0000) Subject: gnus-ems.el (gnus-put-image):Don't put any non-blank text into the buffer when insert... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~47^2~42^2~30 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56d95d0231f536e64cdf67c65537d4db4593093c;p=emacs.git gnus-ems.el (gnus-put-image):Don't put any non-blank text into the buffer when inserting images. --- 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)