[gnus git] branch master updated: =1= Special-case background colours.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 133953e3dae536f5a827293bedd49e24cb65708b (commit)
from c869b8fef7f7626a811e08ad80eb69aa3f58c5a2 (commit)
- Log -----------------------------------------------------------------
commit 133953e3dae536f5a827293bedd49e24cb65708b
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Thu Jan 27 02:13:55 2011 -0800
Special-case background colours.
Do put them at the blank parts at the front of the lines.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5f7e090..2ba8461 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-01-27 Lars Ingebrigtsen <[email protected]>
+ * 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.
diff --git a/lisp/shr.el b/lisp/shr.el
index 899a5de..4568f45 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -612,7 +612,8 @@ ones, in case fg and bg are nil."
(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))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 3 +++
lisp/shr.el | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project