From: Chris Gray Date: Wed, 4 Jan 2012 20:48:31 +0000 (+0100) Subject: * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a live buffer. X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;ds=sidebyside;h=31b510c1772168ab54a0478bb6ff53561bff9a36;p=gnus * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a live buffer. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9653b1836..432afa71c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-01-04 Chris Gray + + * mm-decode.el (mm-shr): Check that `gnus-summary-buffer' really is a + live buffer. + 2012-01-04 Lars Magne Ingebrigtsen * nnir.el (nnir-retrieve-headers): Protect against the article not diff --git a/lisp/mm-decode.el b/lisp/mm-decode.el index 7ea0902bd..ec8dd5bf8 100644 --- a/lisp/mm-decode.el +++ b/lisp/mm-decode.el @@ -1,6 +1,6 @@ ;;; 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 ;; MORIOKA Tomohiko @@ -1724,6 +1724,7 @@ If RECURSIVE, search recursively." (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