]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-article-display-xface): Skip over previously
authorGerd Moellmann <gerd@gnu.org>
Thu, 27 Sep 2001 12:09:35 +0000 (12:09 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 27 Sep 2001 12:09:35 +0000 (12:09 +0000)
inserted images.

lisp/gnus/ChangeLog
lisp/gnus/gnus-ems.el

index aa08e0f922d8b178ec14c1da42f9ed4e627923b2..e16c3bd337d01be468821c61d689baa4988cdfed 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * gnus-ems.el (gnus-article-display-xface): Skip over previously
+       inserted images.
+
 2001-09-19  Sam Steingold  <sds@gnu.org>
 
        * gnus-win.el (gnus-buffer-configuration): Respect
index d668d5c056f5c05ef4da3e9da41da7bd56cccfd2..ba4ecfefcac7dc58f98930b95e9e8a153d3819b5 100644 (file)
@@ -272,6 +272,8 @@ for XEmacs."
        (when image
          (goto-char (point-min))
          (re-search-forward "^From:" nil 'move)
+         (while (get-text-property (point) 'display)
+           (goto-char (next-single-property-change (point) 'display)))
          (insert-image image))))))
 
 (provide 'gnus-ems)