comparison src/xdisp.c @ 11085:a9c7a7f91693

(redisplay_window): Skip the only-point-has-changed optimization if updating the window's mode line.
author Richard M. Stallman <rms@gnu.org>
date Wed, 22 Mar 1995 14:50:50 +0000
parents 2a3d961889b4
children ad6e21535db6
comparison
equal deleted inserted replaced
11084:ea9524b79520 11085:a9c7a7f91693
1429 in redisplay handles the same cases. */ 1429 in redisplay handles the same cases. */
1430 1430
1431 if (XFASTINT (w->last_modified) >= MODIFF 1431 if (XFASTINT (w->last_modified) >= MODIFF
1432 && PT >= startp && !clip_changed 1432 && PT >= startp && !clip_changed
1433 && (just_this_one || XFASTINT (w->width) == FRAME_WIDTH (f)) 1433 && (just_this_one || XFASTINT (w->width) == FRAME_WIDTH (f))
1434 /* If force-mode-line-update was called, really redisplay;
1435 that's how redisplay is forced after e.g. changing
1436 buffer-invisibility-spec. */
1437 && ! NILP (w->update_mode_line)
1434 /* Can't use this case if highlighting a region. */ 1438 /* Can't use this case if highlighting a region. */
1435 && !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active)) 1439 && !(!NILP (Vtransient_mark_mode) && !NILP (current_buffer->mark_active))
1436 && NILP (w->region_showing) 1440 && NILP (w->region_showing)
1437 /* If end pos is out of date, scroll bar and percentage will be wrong */ 1441 /* If end pos is out of date, scroll bar and percentage will be wrong */
1438 && INTEGERP (w->window_end_vpos) 1442 && INTEGERP (w->window_end_vpos)