[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102494: shr.el (shr-tag-font): Resur
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102494: shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries. |
Date: |
Wed, 24 Nov 2010 00:35:23 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102494
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2010-11-24 00:35:23 +0000
message:
shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
parse <font color="red"> entries.
modified:
lisp/gnus/ChangeLog
lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2010-11-23 22:24:15 +0000
+++ b/lisp/gnus/ChangeLog 2010-11-24 00:35:23 +0000
@@ -2,6 +2,8 @@
* shr.el (shr-insert-color-overlay): Split stuff like
"#444444 !important" to find the real colour.
+ (shr-tag-font): Resurrect shr-tag-font again, since it's needed to
+ parse <font color="red"> entries.
2010-11-23 Andrew Cohen <address@hidden>
=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el 2010-11-23 22:24:15 +0000
+++ b/lisp/gnus/shr.el 2010-11-24 00:35:23 +0000
@@ -702,6 +702,12 @@
(shr-ensure-newline)
(insert (make-string shr-width shr-hr-line) "\n"))
+(defun shr-tag-font (cont)
+ (let ((start (point))
+ (color (cdr (assq :color cont))))
+ (shr-generic cont)
+ (shr-insert-color-overlay color start (point))))
+
;;; Table rendering algorithm.
;; Table rendering is the only complicated thing here. We do this by
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102494: shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries.,
Katsumi Yamaoka <=