]> git.eshelyaron.com Git - emacs.git/commitdiff
shr.el (shr-urlify, shr-link): Fix shr-link face.
authorTeodor Zlatanov <tzz@lifelogs.com>
Fri, 6 May 2011 23:33:12 +0000 (23:33 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 6 May 2011 23:33:12 +0000 (23:33 +0000)
lisp/gnus/ChangeLog
lisp/gnus/shr.el

index a0dab93bca09ee2045eac2c4985c9305e6d7682f..531120c62312531a9ac3064da04be13fcf92af31 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-06  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * shr.el (shr-urlify, shr-link): Fix shr-link face.
+
 2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
index d8f33c830c703812e2b6d4fb3adc4b3834648c6b..37b71c5d60c7446f46270e2ae858e9f7dc479413 100644 (file)
@@ -91,9 +91,8 @@ cid: URL as the argument.")
   "Font for <s> 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)