From: Lars Magne Ingebrigtsen Date: Thu, 7 Oct 2010 21:48:40 +0000 (+0200) Subject: (shr-tag-hr): New function. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=2c183b45a45efa58f2f7a3ac7353d2580519c801 (shr-tag-hr): New function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0762eb2b0..50e6310b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2010-10-07 Lars Magne Ingebrigtsen * shr.el (require): Require cl when compiling. + (shr-tag-hr): New function. * nnimap.el (nnimap-update-info): Remove double setting of high. (nnimap-update-info): Don't ignore groups that have no UIDNEXT. This diff --git a/lisp/shr.el b/lisp/shr.el index e5b997e6e..bb25a6c80 100644 --- a/lisp/shr.el +++ b/lisp/shr.el @@ -449,6 +449,10 @@ Return a string with image data." (defun shr-tag-h6 (cont) (shr-heading cont)) +(defun shr-tag-hr (cont) + (shr-ensure-newline) + (insert (make-string shr-width ?-) "\n")) + ;;; Table rendering algorithm. ;; Table rendering is the only complicated thing here. We do this by