[gnus git] branch no-gnus updated: m0-1-57-gd79e04b =1= Fix up the padding removal logic

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  d79e04b27ece9a5d1a0a21c9f58c3f1d6f1d7755 (commit)
      from  9bb4942d7c7993abef8e077b03eec2f2f7c5703a (commit)


- Log -----------------------------------------------------------------
commit d79e04b27ece9a5d1a0a21c9f58c3f1d6f1d7755
Author: Lars Ingebrigtsen <[email protected]>
Date:   Wed Feb 15 09:20:24 2012 +0100

    Fix up the padding removal logic
    
    * shr.el (shr-remove-trailing-whitespace): Really delete the padding on
    too-wide lines.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c61dc0d..de13a27 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-15  Lars Ingebrigtsen  <[email protected]>
+
+	* shr.el (shr-remove-trailing-whitespace): Really delete the padding on
+	too-wide lines.
+
 2012-02-13  Lars Ingebrigtsen  <[email protected]>
 
 	* nnimap.el (nnimap-record-commands): New variable.
diff --git a/lisp/shr.el b/lisp/shr.el
index 47622f5..f594a60 100644
--- a/lisp/shr.el
+++ b/lisp/shr.el
@@ -160,7 +160,7 @@ DOM should be a parse tree as generated by
       (goto-char start)
       (while (not (eobp))
 	(end-of-line)
-	(when (> (current-column) width)
+	(when (> (shr-previous-newline-padding-width (current-column)) width)
 	  (dolist (overlay (overlays-at (point)))
 	    (when (overlay-get overlay 'before-string)
 	      (overlay-put overlay 'before-string nil))))

-----------------------------------------------------------------------
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 |    5 +++++
 lisp/shr.el    |    2 +-
 2 files changed, 6 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, no-gnus has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.