]> git.eshelyaron.com Git - emacs.git/commit
; Additional fixup for truncation of long lines in compilation buffers
authorPhil Sainty <psainty@orcon.net.nz>
Sat, 13 Apr 2024 12:49:56 +0000 (00:49 +1200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 17:10:43 +0000 (19:10 +0200)
commitb2f3ad39486494fdeb0ed2df770f67fcfdcce292
tree3e26b99013f22d027470c42063d87cad47df2ca7
parent5819dec17586c71d4ed72b5c284b1e81429dbbd7
; Additional fixup for truncation of long lines in compilation buffers

* lisp/progmodes/compile.el
(compilation--insert-abbreviated-line): Handle long lines that end
in a newline.  (Bug#70236)

The fix in commit 8f93cba324e4d4022a9422b8c56186213ba2de8d resulted in
the previous "Don't hide the final newline" code causing an off-by-one
error.  With the new code the value of point is what is wanted in both
cases.

(cherry picked from commit f950621e6a177fc3110f3dec7c92b7d499fd25d6)
lisp/progmodes/compile.el