updates by setting prevent_redisplay_optimizations_p and
update_mode_lines.
if (EQ (w->buffer, obj))
{
mark_window_display_accurate (window, 0);
+ w->update_mode_line = Qt;
+ XBUFFER (obj)->prevent_redisplay_optimizations_p = 1;
+ ++update_mode_lines;
best_window = window;
}
break;
if (NILP (object))
{
windows_or_buffers_changed++;
+ update_mode_lines++;
return Qt;
}
if (WINDOWP (object))
{
+ struct window *w = XWINDOW (object);
mark_window_display_accurate (object, 0);
+ w->update_mode_line = Qt;
+ if (BUFFERP (w->buffer))
+ XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1;
+ ++update_mode_lines;
return Qt;
}