From: Kim F. Storm Date: Mon, 22 Nov 2004 23:26:13 +0000 (+0000) Subject: (set_window_buffer): Clear display_error_modiff. X-Git-Tag: ttn-vms-21-2-B4~3737 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c49a049515236b9db5476585911fde8da8a0924f;p=emacs.git (set_window_buffer): Clear display_error_modiff. --- diff --git a/src/window.c b/src/window.c index 7362aa51178..39fa03c2879 100644 --- a/src/window.c +++ b/src/window.c @@ -2694,7 +2694,7 @@ shrink_windows (total, size, nchildren, shrinkable, ++nonzero_sizes; nonzero_idx = i; } - + for (i = 0; i < nchildren; ++i) if (new_sizes[i] > min_size) { @@ -3012,6 +3012,9 @@ set_window_buffer (window, buffer, run_hooks_p, keep_margins_p) if (EQ (window, selected_window)) b->last_selected_window = window; + /* Let redisplay errors through. */ + b->display_error_modiff = 0; + /* Update time stamps of buffer display. */ if (INTEGERP (b->display_count)) XSETINT (b->display_count, XINT (b->display_count) + 1);