From 097e16e26663c1010db6f6dc2db7b5f1b7a4dbc0 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 11 Feb 2015 05:58:14 +0000 Subject: [PATCH] lisp/gnus/gnus-art.el (gnus-treat-buttonize): Don't buttonize URLs in HTML --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-art.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 94a55f4bf4e..f21d01f9fef 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2015-02-11 Lars Ingebrigtsen + + * gnus-art.el (gnus-treat-buttonize): Don't re-buttonize URLs in HTML + parts, because that breaks filling (since buttons are in a bold face). + 2015-02-10 Katsumi Yamaoka * mm-decode.el (mm-convert-shr-links): Delete useless variable `face'; diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 557c6a3a4ab..4ad0601099d 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -1139,7 +1139,7 @@ predicate. See Info node `(gnus)Customizing Articles'." :type gnus-article-treat-custom) (put 'gnus-treat-highlight-signature 'highlight t) -(defcustom gnus-treat-buttonize 100000 +(defcustom gnus-treat-buttonize '(and 100000 (typep "text/plain")) "Add buttons. Valid values are nil, t, `head', `first', `last', an integer or a predicate. See Info node `(gnus)Customizing Articles'." -- 2.39.2