emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104129: shr.el (shr-urlify, shr-link


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104129: shr.el (shr-urlify, shr-link): Still broken but at least doesn't error out because the face is not a list.
Date: Thu, 05 May 2011 22:12:41 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104129
author: Teodor Zlatanov <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-05-05 22:12:41 +0000
message:
  shr.el (shr-urlify, shr-link): Still broken but at least doesn't error out 
because the face is not a list.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2011-05-05 06:56:54 +0000
+++ b/lisp/gnus/ChangeLog       2011-05-05 22:12:41 +0000
@@ -1,3 +1,8 @@
+2011-05-05  Teodor Zlatanov  <address@hidden>
+
+       * 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  <address@hidden>
 
        * gnus-start.el (gnus-propagate-marks): Declare.

=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el  2011-05-03 22:41:28 +0000
+++ b/lisp/gnus/shr.el  2011-05-05 22:12:41 +0000
@@ -94,7 +94,7 @@
 (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 @@
    :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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]