From: Ted Zlatanov Date: Fri, 6 May 2011 15:29:39 +0000 (-0500) Subject: * shr.el (shr-urlify, shr-link): Fix shr-link face. X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=f6802241a8e8267957915b3e51e6f2734807e32e * shr.el (shr-urlify, shr-link): Fix shr-link face. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5d0972f42..bc18be110 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-05-06 Teodor Zlatanov + + * shr.el (shr-urlify, shr-link): Fix shr-link face. + 2011-05-05 Teodor Zlatanov * shr.el (shr-urlify, shr-link): Still broken but at least doesn't diff --git a/lisp/shr.el b/lisp/shr.el index d8f33c830..37b71c5d6 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -91,9 +91,8 @@ cid: URL as the argument.") "Font for elements." :group 'shr) -(defface shr-link '((t (:underline t) - (:foreground "yellow") - (:background "black"))) +(defface shr-link + '((t (:underline t :foreground "yellow" :background "black"))) "Font for link elements." :group 'shr) @@ -597,7 +596,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) 'face 'shr-link) (put-text-property start (point) 'shr-url url)) (defun shr-encode-url (url)