diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 386f1d6095d..43d34a9d4d1 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el @@ -228,6 +228,10 @@ temporarily blinks with this face." "Face for
blocks."
+ :version "29.1")
+
(defcustom shr-inhibit-images nil
"If non-nil, inhibit loading images."
:version "28.1"
@@ -1410,7 +1414,7 @@ ones, in case fg and bg are nil."
(shr-fontize-dom dom 'underline))
(defun shr-tag-code (dom)
- (let ((shr-current-font 'fixed-pitch))
+ (let ((shr-current-font 'shr-code))
(shr-generic dom)))
(defun shr-tag-tt (dom)