summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-html.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2010-08-30 23:35:19 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2010-08-30 23:35:19 +0000
commita3e01263b117b9f82b4c8d1e2e22f40b5112a749 (patch)
tree022a0d2696dbc58bec324144af830f8bada565cd /lisp/gnus/gnus-html.el
parent929989ffacedcc454c805374a02522033889a886 (diff)
downloademacs-a3e01263b117b9f82b4c8d1e2e22f40b5112a749.tar.gz
emacs-a3e01263b117b9f82b4c8d1e2e22f40b5112a749.tar.bz2
emacs-a3e01263b117b9f82b4c8d1e2e22f40b5112a749.zip
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>.
Diffstat (limited to 'lisp/gnus/gnus-html.el')
-rw-r--r--lisp/gnus/gnus-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index 9c9908e0693..7bfb3cd785d 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -157,7 +157,7 @@
(set-buffer buffer)
(let ((buffer-read-only nil))
(when (gnus-html-put-image file (cadr spec))
- (delete-region (cadr spec) (caddr spec))))))
+ (delete-region (1+ (cadr spec)) (caddr spec))))))
(when images
(gnus-html-schedule-image-fetching buffer images)))))