mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08:00
(redisplay_window): Skip the only-point-has-changed
optimization if updating the window's mode line.
This commit is contained in:
parent
3e9430d935
commit
b1aa6cb344
1 changed files with 4 additions and 0 deletions
|
|
@ -1431,6 +1431,10 @@ redisplay_window (window, just_this_one)
|
|||
if (XFASTINT (w->last_modified) >= MODIFF
|
||||
&& PT >= startp && !clip_changed
|
||||
&& (just_this_one || XFASTINT (w->width) == FRAME_WIDTH (f))
|
||||
/* If force-mode-line-update was called, really redisplay;
|
||||
that's how redisplay is forced after e.g. changing
|
||||
buffer-invisibility-spec. */
|
||||
&& ! NILP (w->update_mode_line)
|
||||
/* Can't use this case if highlighting a region. */
|
||||
&& !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active))
|
||||
&& NILP (w->region_showing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue