diff options
| author | Richard M. Stallman | 1995-03-22 14:50:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-22 14:50:50 +0000 |
| commit | b1aa6cb3446f57ed7f586f829edff25b896bf2aa (patch) | |
| tree | b52a8f7946a5a1e2ff31be01948968958e9a8f5d /src | |
| parent | 3e9430d9357eab6fc057aef1bda2a4f3e2f958f3 (diff) | |
| download | emacs-b1aa6cb3446f57ed7f586f829edff25b896bf2aa.tar.gz emacs-b1aa6cb3446f57ed7f586f829edff25b896bf2aa.zip | |
(redisplay_window): Skip the only-point-has-changed
optimization if updating the window's mode line.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 7ef95dfcd63..04955ad1fa9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1431,6 +1431,10 @@ redisplay_window (window, just_this_one) | |||
| 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) |