diff lisp/gnus/gnus-art.el @ 108533:de6d3e5f8e8e

Synch with Gnus trunk. * gnus-art.el (gnus-bind-safe-url-regexp): Bind mm-w3m-safe-url-regexp to nil when we're in a mml-preview buffer and no group is selected. * mml1991.el (mml1991-mailcrypt-encrypt, mml1991-gpg-encrypt) * mml2015.el (mml2015-gpg-encrypt): Disable multibyte in buffers generated within the mm-with-unibyte-current-buffer macro.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 13 May 2010 05:59:23 +0000
parents afc774335f7e
children 8661a29f6131
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el	Thu May 13 05:57:58 2010 +0000
+++ b/lisp/gnus/gnus-art.el	Thu May 13 05:59:23 2010 +0000
@@ -4822,7 +4822,11 @@
 			   (with-current-buffer gnus-article-current-summary
 			     gnus-newsgroup-name)
 			 gnus-newsgroup-name)))
-	    (if (cond ((stringp gnus-safe-html-newsgroups)
+	    (if (cond ((not group)
+		       ;; Maybe we're in a mml-preview buffer
+		       ;; and no group is selected.
+		       t)
+		      ((stringp gnus-safe-html-newsgroups)
 		       (string-match gnus-safe-html-newsgroups group))
 		      ((consp gnus-safe-html-newsgroups)
 		       (member group gnus-safe-html-newsgroups)))