diff options
Diffstat (limited to 'lisp/gnus/shr.el')
-rw-r--r-- | lisp/gnus/shr.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index b2e4f1dc61d..d865b2d6087 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el @@ -91,6 +91,12 @@ cid: URL as the argument.") "Font for <s> elements." :group 'shr) +(defface shr-link '((t (:underline t) + (:foreground "yellow") + (:background "black"))) + "Font for <s> elements." + :group 'shr) + ;;; Internal variables. (defvar shr-folding-mode nil) @@ -591,6 +597,7 @@ START, and END. Note that START and END should be merkers." :help-echo (if title (format "%s (%s)" url title) url) :keymap shr-map url) + (put-text-property start (point) 'face 'shr-link) (put-text-property start (point) 'shr-url url)) (defun shr-encode-url (url) |