Should be slightly faster.
2011-02-01 Lars Ingebrigtsen <larsi@gnus.org>
+ * shr.el (shr-render-td): Only do colours at the final rendering.
+ Should be slightly faster.
+
* gnus-art.el (article-date-ut): Protect against articles with no Date
header.
(article-update-date-lapsed): Don't use current-column to find the
(end-of-line)
(when (> (- width (current-column)) 0)
(insert (make-string (- width (current-column)) ? )))
- (forward-line 1))))
- (when style
- (shr-colorize-region
- (point-min) (point-max)
- (cdr (assq 'color shr-stylesheet))
- (cdr (assq 'background-color shr-stylesheet))))
+ (forward-line 1)))
+ (when style
+ (shr-colorize-region
+ (point-min) (point-max)
+ (cdr (assq 'color shr-stylesheet))
+ (cdr (assq 'background-color shr-stylesheet)))))
(if fill
(list max
(count-lines (point-min) (point-max))