# HG changeset patch # User Katsumi Yamaoka # Date 1290558923 0 # Node ID bef4f575201b914f88508b209dd22491275910cf # Parent 1cb16ad0d1bcd9721d22bef2ac73c12f69e109f4 shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse entries. diff -r 1cb16ad0d1bc -r bef4f575201b lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Tue Nov 23 22:24:15 2010 +0000 +++ b/lisp/gnus/ChangeLog Wed Nov 24 00:35:23 2010 +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 entries. 2010-11-23 Andrew Cohen diff -r 1cb16ad0d1bc -r bef4f575201b lisp/gnus/shr.el --- a/lisp/gnus/shr.el Tue Nov 23 22:24:15 2010 +0000 +++ b/lisp/gnus/shr.el Wed Nov 24 00:35:23 2010 +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