[gnus git] branch master updated: =1= Don't kill the temporary buffer after being called.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  0634fb0674c1b6e729cfae3bdc2ff0af2fcbee96 (commit)
      from  4dc732c93876d68baf60e6aa54c6038a2e4aa20e (commit)


- Log -----------------------------------------------------------------
commit 0634fb0674c1b6e729cfae3bdc2ff0af2fcbee96
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sun Jan 23 23:35:12 2011 +0100

    Don't kill the temporary buffer after being called.
    
    It's apparently being killed by url.el, and killing it made point move
    to end-of-buffer in a random buffer.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 38f7adf..6a1b4e4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-23  Lars Ingebrigtsen  <[email protected]>
+
+	* gnus-html.el (gnus-html-image-fetched): Don't kill the temporary
+	buffer after being called.  It's apparently being killed by url.el, and
+	killing it made point move to end-of-buffer in a random buffer.
+
 2011-01-23  Julien Danjou  <[email protected]>
 
 	* mm-decode.el (mm-inline-media-tests): Change text/org to text/x-org.
diff --git a/lisp/gnus-html.el b/lisp/gnus-html.el
index acc018f..2e969b7 100644
--- a/lisp/gnus-html.el
+++ b/lisp/gnus-html.el
@@ -408,8 +408,7 @@ Use ALT-TEXT for the image string."
       (let ((data (buffer-substring (point) (point-max))))
         (with-current-buffer buffer
           (let ((inhibit-read-only t))
-            (gnus-html-put-image data (car image) (cadr image)))))))
-  (kill-buffer (current-buffer)))
+            (gnus-html-put-image data (car image) (cadr image))))))))
 
 (defun gnus-html-get-image-data (url)
   "Get image data for URL.

-----------------------------------------------------------------------
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    |    6 ++++++
 lisp/gnus-html.el |    3 +--
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.