[gnus git] branch master updated: m0-11-154-g7a78341 =1= Don't buttonize URLs in HTML

Lars <[email protected]> Wed, 11 Feb 2015 05:50:19 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  7a783418c081e681aa35d06bd1ffc3521849dd5d (commit)
      from  cae9659706ab3769973b310e7c93f972337e6b8a (commit)


- Log -----------------------------------------------------------------
commit 7a783418c081e681aa35d06bd1ffc3521849dd5d
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Wed Feb 11 15:50:11 2015 +1100

    Don't buttonize URLs in HTML
    
    * lisp/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).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9d01fa5..fed4701 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-11  Lars Ingebrigtsen  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* mm-decode.el (mm-convert-shr-links): Delete useless variable `face';
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 533874d..a7140cf 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -1140,7 +1140,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'."

-----------------------------------------------------------------------
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   |    5 +++++
 lisp/gnus-art.el |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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