emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107295: shr.el (shr-remove-trailing-


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107295: shr.el (shr-remove-trailing-whitespace): Really delete the padding on too-wide lines.
Date: Wed, 15 Feb 2012 09:36:28 +0000
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107295
author: Lars Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Wed 2012-02-15 09:36:28 +0000
message:
  shr.el (shr-remove-trailing-whitespace): Really delete the padding on 
too-wide lines.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/shr.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2012-02-15 06:40:08 +0000
+++ b/lisp/gnus/ChangeLog       2012-02-15 09:36:28 +0000
@@ -1,3 +1,8 @@
+2012-02-15  Lars Ingebrigtsen  <address@hidden>
+
+       * shr.el (shr-remove-trailing-whitespace): Really delete the padding on
+       too-wide lines.
+
 2012-02-15  Paul Eggert  <address@hidden>
 
        * shr.el (shr-rescale-image): Undo previous change; see

=== modified file 'lisp/gnus/shr.el'
--- a/lisp/gnus/shr.el  2012-02-15 06:40:08 +0000
+++ b/lisp/gnus/shr.el  2012-02-15 09:36:28 +0000
@@ -160,7 +160,7 @@
       (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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]