emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/diff-ansi 136b173e4a: Cleanup: goto pos-bol/eol instead of


From: ELPA Syncer
Subject: [nongnu] elpa/diff-ansi 136b173e4a: Cleanup: goto pos-bol/eol instead of movement that respects fields
Date: Fri, 13 Jan 2023 05:59:07 -0500 (EST)

branch: elpa/diff-ansi
commit 136b173e4afb6eec4243f1089056411538a6ffa3
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: goto pos-bol/eol instead of movement that respects fields
---
 diff-ansi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diff-ansi.el b/diff-ansi.el
index 6a69e9069b..b6f76021a2 100644
--- a/diff-ansi.el
+++ b/diff-ansi.el
@@ -751,7 +751,7 @@ Store the result in TARGET-BUF when non-nil."
               (while (not (eobp))
                 (setq point-prev (point))
                 (goto-char (min (+ (point) diff-ansi-chunks-size) (point-max)))
-                (end-of-line)
+                (goto-char (pos-eol))
 
                 (let ((output (concat temp-dir (number-to-string i))))
                   (write-region point-prev (point) output nil 0)



reply via email to

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