]> git.eshelyaron.com Git - emacs.git/commit
Fix ommissions in window scrolling commands that ought to clear vscroll
authorPo Lu <luangruo@yahoo.com>
Sat, 27 Apr 2024 11:48:45 +0000 (19:48 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 29 Apr 2024 15:05:05 +0000 (17:05 +0200)
commitf699c8c3b3e8cdc336bbb7ca4d205ed691f30ae5
tree7358276dd43d113daa8f6d4e00b74b5b2fae2336
parent0e5f79ebe314f150c436c33cec2afb2bddfefc3c
Fix ommissions in window scrolling commands that ought to clear vscroll

* src/window.c (Fdelete_other_windows_internal)
(window_scroll_for_long_lines, Frecenter, Fmove_to_window_line):
Reset window vscroll, or, if force_start be set, just
preserve_vscroll_p, after moving window start to a position
computed from iterators for the window in question, so that
vscroll may be reliably reset again after the conditions for
redisplay's doing the same were corrected.  (bug#70386)

(cherry picked from commit 01e0b783bcd1b48ec856c8960e9da571a289a1b2)
src/window.c