1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00

Use insert-image instead of put-image when putting images into a buffer; This makes all the Gnus image-inserting functions work, I think; by Lars Magne Ingebrigtsen <larsi@gnus.org>.

This commit is contained in:
Katsumi Yamaoka 2010-08-30 23:35:19 +00:00
parent 929989ffac
commit a3e01263b1
2 changed files with 2 additions and 2 deletions

View file

@ -278,7 +278,7 @@
(let ((point (or point (point))))
(save-excursion
(goto-char point)
(put-image glyph point)
(insert-image glyph (or string " "))
(put-text-property point (point) 'gnus-image-category category)
(unless string
(put-text-property (1- (point)) (point)