changeset 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 ea9524b79520
children 22693a280a42
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Mar 22 08:54:39 1995 +0000
+++ b/src/xdisp.c	Wed Mar 22 14:50:50 1995 +0000
@@ -1431,6 +1431,10 @@
   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)