Small fix, but shr-urlify+shr-link face is still broken.
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 5 May 2011 13:28:53 +0000 (08:28 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 5 May 2011 13:28:53 +0000 (08:28 -0500)
* shr.el (shr-urlify, shr-link): Still broken but at least doesn't
error out because the face is not a list.

lisp/ChangeLog
lisp/shr.el

index d83a052..5d0972f 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-05  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * shr.el (shr-urlify, shr-link): Still broken but at least doesn't
+       error out because the face is not a list.
+
 2011-05-05  Glenn Morris  <rgm@gnu.org>
 
        * proto-stream.el (gnutls-negotiate): Fix declarations.
index d865b2d..d8f33c8 100644 (file)
@@ -94,7 +94,7 @@ cid: URL as the argument.")
 (defface shr-link '((t (:underline t)
                        (:foreground "yellow")
                        (:background "black")))
-  "Font for <s> elements."
+  "Font for link elements."
   :group 'shr)
 
 ;;; Internal variables.
@@ -597,7 +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) 'face '(shr-link))
   (put-text-property start (point) 'shr-url url))
 
 (defun shr-encode-url (url)