]> git.eshelyaron.com Git - emacs.git/commit
Prevent redisplay slowdown with non-zero vscroll
authorEli Zaretskii <eliz@gnu.org>
Tue, 17 Jun 2025 13:00:04 +0000 (16:00 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 18 Jun 2025 08:14:43 +0000 (10:14 +0200)
commit1b34334f61746fc791362337cab4bd82ed249bb0
tree04887ff1984b9b00e0dcccd430033ccd534689a2
parentfdf5bfa2a1b2563cf626b32b9815959575911ec8
Prevent redisplay slowdown with non-zero vscroll

* src/xdisp.c (try_scrolling): Don't loop when the
partially-visible cursor line is at the top of the window.  This
looping are pointless, and just makes redisplay slow for no reason.
(Bug#78766)

(cherry picked from commit 06b74b04cb86be6847bbee11e0060bf51c4a9ab5)
src/xdisp.c