* shr.el (shr-urlify, shr-link): Fix shr-link face.
authorTed Zlatanov <tzz@lifelogs.com>
Fri, 6 May 2011 15:29:39 +0000 (10:29 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Fri, 6 May 2011 15:29:39 +0000 (10:29 -0500)
lisp/ChangeLog
lisp/shr.el

index 5d0972f..bc18be1 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 d8f33c8..37b71c5 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)