[gnus git] branch master updated: n0-17-337-g13c8334 =1= Add a space at the end of an ALT image text to make asynchronous adjacent image insertion work better.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 13c8334616707c9071c4617e67f255902ee80ce9 (commit)
from 74fd6463abf7dffc01b0940f0c4972011ab9efe1 (commit)
- Log -----------------------------------------------------------------
commit 13c8334616707c9071c4617e67f255902ee80ce9
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sun Oct 2 17:02:52 2011 +0200
Add a space at the end of an ALT image text to make asynchronous adjacent image insertion work better.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2d9da87..4009271 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-02 Lars Magne Ingebrigtsen <[email protected]>
+
+ * shr.el (shr-tag-img): Add a space at the end of an ALT image text to
+ make asynchronous adjacent image insertion work better.
+
2011-09-27 Daiki Ueno <[email protected]>
* plstore.el (plstore-select-keys, plstore-encrypt-to): Clarify
diff --git a/lisp/shr.el b/lisp/shr.el
index f49bbd6..ddf47f4 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -901,7 +901,7 @@ ones, in case fg and bg are nil."
(url-is-cached (shr-encode-url url)))
(funcall shr-put-image-function (shr-get-image-data url) alt))
(t
- (insert alt)
+ (insert alt " ")
(when (and shr-ignore-cache
(url-is-cached (shr-encode-url url)))
(let ((file (url-cache-create-filename (shr-encode-url url))))
@@ -912,7 +912,7 @@ ones, in case fg and bg are nil."
'url-queue-retrieve
'url-retrieve)
(shr-encode-url url) 'shr-image-fetched
- (list (current-buffer) start (point-marker))
+ (list (current-buffer) start (set-marker (make-marker) (1- (point))))
t)))
(put-text-property start (point) 'keymap shr-map)
(put-text-property start (point) 'shr-alt alt)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 5 +++++
lisp/shr.el | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project