changeset 111195:bad8d0e56e0f

shr.el (shr-tag-div): Added.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Tue, 26 Oct 2010 22:08:30 +0000
parents 692eb4db341f
children 0bb15e5b9690
files lisp/gnus/ChangeLog lisp/gnus/shr.el
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Tue Oct 26 20:47:19 2010 +0200
+++ b/lisp/gnus/ChangeLog	Tue Oct 26 22:08:30 2010 +0000
@@ -1,3 +1,7 @@
+2010-10-26  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* shr.el (shr-tag-div): Added.
+
 2010-10-25  Julien Danjou  <julien@danjou.info>
 
 	* gnus-util.el: Remove `gnus-with-local-quit'.
--- a/lisp/gnus/shr.el	Tue Oct 26 20:47:19 2010 +0200
+++ b/lisp/gnus/shr.el	Tue Oct 26 22:08:30 2010 +0000
@@ -444,6 +444,12 @@
   (shr-generic cont)
   (shr-ensure-paragraph))
 
+(defun shr-tag-div (cont)
+  (shr-ensure-newline)
+  (shr-indent)
+  (shr-generic cont)
+  (shr-ensure-newline))
+
 (defun shr-tag-b (cont)
   (shr-fontize-cont cont 'bold))