[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102988: shr.el (shr-put-color): Spec
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102988: shr.el (shr-put-color): Special-case background colours: Do put them at the blank parts at the front of the lines. |
Date: |
Thu, 27 Jan 2011 10:27:51 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102988
author: Lars Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Thu 2011-01-27 10:27:51 +0000
message:
shr.el (shr-put-color): Special-case background colours: Do put them at the
blank parts at the front of the lines.
modified:
lisp/gnus/ChangeLog
lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-01-27 08:38:43 +0000
+++ b/lisp/gnus/ChangeLog 2011-01-27 10:27:51 +0000
@@ -4,6 +4,9 @@
2011-01-27 Lars Ingebrigtsen <address@hidden>
+ * shr.el (shr-put-color): Special-case background colours: Do put them
+ at the blank parts at the front of the lines.
+
* gnus-draft.el (gnus-draft-clear-marks): New function to be run as an
exit hook to nix out all data on readedness on group exit.
=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el 2011-01-27 04:04:58 +0000
+++ b/lisp/gnus/shr.el 2011-01-27 10:27:51 +0000
@@ -612,7 +612,8 @@
(save-excursion
(goto-char start)
(while (< (point) end)
- (when (bolp)
+ (when (and (bolp)
+ (not (eq type :background)))
(skip-chars-forward " "))
(when (> (line-end-position) (point))
(shr-put-color-1 (point) (min (line-end-position) end) type color))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102988: shr.el (shr-put-color): Special-case background colours: Do put them at the blank parts at the front of the lines.,
Katsumi Yamaoka <=