[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 552d58d5b9: Don't do Gnus article emphasis in text/html parts
From: |
Lars Ingebrigtsen |
Subject: |
master 552d58d5b9: Don't do Gnus article emphasis in text/html parts |
Date: |
Wed, 12 Jan 2022 00:54:46 -0500 (EST) |
branch: master
commit 552d58d5b96eaad1c036800d8b4af10cb6f2f823
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Don't do Gnus article emphasis in text/html parts
* lisp/gnus/gnus-art.el (gnus-treat-emphasize): Don't do emphasis
in text/html parts, because this leads to mis-filled text
(especially with *...* that's boldified, which typically becomes
much wider).
---
lisp/gnus/gnus-art.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index f26ab6ab4c..a286c44672 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1159,13 +1159,15 @@ predicate. See Info node `(gnus)Customizing Articles'."
:link '(custom-manual "(gnus)Customizing Articles")
:type gnus-article-treat-head-custom)
-(defcustom gnus-treat-emphasize 50000
+(defcustom gnus-treat-emphasize '(and 50000
+ (not (typep "text/html")))
"Emphasize text.
Valid values are nil, t, `head', `first', `last', an integer or a
predicate. See Info node `(gnus)Customizing Articles'."
:group 'gnus-article-treat
:link '(custom-manual "(gnus)Customizing Articles")
- :type gnus-article-treat-custom)
+ :type gnus-article-treat-custom
+ :version "29.1")
(put 'gnus-treat-emphasize 'highlight t)
(defcustom gnus-treat-strip-cr nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 552d58d5b9: Don't do Gnus article emphasis in text/html parts,
Lars Ingebrigtsen <=