projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734eb7e
)
Introduce face for <code> elements in shr
author
Kévin Le Gouguec
<kevin.legouguec@gmail.com>
Thu, 20 Feb 2020 13:30:45 +0000
(14:30 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 20 Feb 2020 13:30:54 +0000
(14:30 +0100)
* lisp/net/shr.el (shr-tag-code): Don't use the `default' font,
because it has properties that will override surrounding elements
(like <a...>) (bug#39504).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 55c189baa85b1d7f94ccaaeee91c1ee1f821eb32..deddaad15cb7270dec9234cbeb9ce7e9b3e0bd48 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1440,7
+1440,7
@@
ones, in case fg and bg are nil."
(shr-fontize-dom dom 'underline))
(defun shr-tag-code (dom)
- (let ((shr-current-font '
default
))
+ (let ((shr-current-font '
fixed-pitch
))
(shr-generic dom)))
(defun shr-tag-tt (dom)