* mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a live buffer.
authorChris Gray <chrismgray@gmail.com>
Wed, 4 Jan 2012 20:48:31 +0000 (21:48 +0100)
committerLars Magne Ingebrigtsen <larsi@stories.(none)>
Wed, 4 Jan 2012 20:48:31 +0000 (21:48 +0100)
lisp/ChangeLog
lisp/mm-decode.el

index 9653b18..432afa7 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-04  Chris Gray  <chrismgray@gmail.com>
+
+       * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a
+       live buffer.
+
 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnir.el (nnir-retrieve-headers): Protect against the article not
 2012-01-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * nnir.el (nnir-retrieve-headers): Protect against the article not
index 7ea0902..ec8dd5b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; mm-decode.el --- Functions for decoding MIME things
 
 ;;; mm-decode.el --- Functions for decoding MIME things
 
-;; Copyright (C) 1998-2011  Free Software Foundation, Inc.
+;; Copyright (C) 1998-2012  Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;;     MORIOKA Tomohiko <morioka@jaist.ac.jp>
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;;     MORIOKA Tomohiko <morioka@jaist.ac.jp>
@@ -1724,6 +1724,7 @@ If RECURSIVE, search recursively."
                                      (buffer-string))))))
        shr-inhibit-images shr-blocked-images charset char)
     (if (and (boundp 'gnus-summary-buffer)
                                      (buffer-string))))))
        shr-inhibit-images shr-blocked-images charset char)
     (if (and (boundp 'gnus-summary-buffer)
+            (bufferp gnus-summary-buffer)
             (buffer-name gnus-summary-buffer))
        (with-current-buffer gnus-summary-buffer
          (setq shr-inhibit-images gnus-inhibit-images
             (buffer-name gnus-summary-buffer))
        (with-current-buffer gnus-summary-buffer
          (setq shr-inhibit-images gnus-inhibit-images