branch: elpa/diff-ansi commit 136b173e4afb6eec4243f1089056411538a6ffa3 Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@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)