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).
This commit is contained in:
parent
8555a3e1ed
commit
552d58d5b9
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue