mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-20 11:33:09 -08:00
(redisplay_window): Fix last change. Don't recenter if
window start is at BEGV.
This commit is contained in:
parent
95797ede75
commit
d95ebe75a0
1 changed files with 2 additions and 1 deletions
|
|
@ -12862,7 +12862,8 @@ redisplay_window (window, just_this_one_p)
|
|||
/* If first window line is a continuation line, and window start
|
||||
is inside the modified region, but the first change is before
|
||||
current window start, we must select a new window start.*/
|
||||
if (NILP (w->start_at_line_beg))
|
||||
if (NILP (w->start_at_line_beg)
|
||||
&& CHARPOS (startp) > BEGV)
|
||||
{
|
||||
/* Make sure beg_unchanged and end_unchanged are up to date.
|
||||
Do it only if buffer has really changed. This may or may
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue