# HG changeset patch # User Richard M. Stallman # Date 895995016 0 # Node ID 571020b7fc5e2349d81a0a71908546e566795e39 # Parent 5b05d45bfbbf3afe2d2f3379d493925a8f1b8df0 (message_dolog): Do set windows_or_buffers_changed, if *Messages* is displayed in a window. diff -r 5b05d45bfbbf -r 571020b7fc5e src/xdisp.c --- a/src/xdisp.c Sun May 24 01:10:12 1998 +0000 +++ b/src/xdisp.c Sun May 24 07:30:16 1998 +0000 @@ -296,7 +296,7 @@ int old_windows_or_buffers_changed = windows_or_buffers_changed; int point_at_end = 0; int zv_at_end = 0; - Lisp_Object old_deactivate_mark; + Lisp_Object old_deactivate_mark, tem; old_deactivate_mark = Vdeactivate_mark; oldbuf = current_buffer; @@ -419,8 +419,10 @@ free_marker (oldbegv); free_marker (oldzv); + tem = Fget_buffer_window (Fcurrent_buffer (), Qt); set_buffer_internal (oldbuf); - windows_or_buffers_changed = old_windows_or_buffers_changed; + if (NILP (tem)) + windows_or_buffers_changed = old_windows_or_buffers_changed; message_log_need_newline = !nlflag; Vdeactivate_mark = old_deactivate_mark; }