branch: elpa/diff-ansi commit 7463fe2100e39ab88b1993b6b331983d80230dfa Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@gmail.com>
Cleanup: use pos-bol/eol as respecting fields isn't needed --- diff-ansi.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diff-ansi.el b/diff-ansi.el index 29952628b6..6a69e9069b 100644 --- a/diff-ansi.el +++ b/diff-ansi.el @@ -644,10 +644,10 @@ Argument BEG is only used to calculate the progress percentage." (disp-beg (car range)) (disp-end (min - end ; Clamp twice because `line-end-position' could exceed the value. + end ; Clamp twice because `pos-eol' could exceed the value. (save-excursion (goto-char (min (+ disp-beg diff-ansi-chunks-size) end)) - (line-end-position))))) + (pos-eol))))) (save-excursion (cond ((eq disp-beg disp-end)