From 69f033abe11fca0a96310ee3c4d960c8ee260104 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 15 Dec 1995 02:13:54 +0000 Subject: [PATCH] (message_dolog): Save and restore windows_or_buffers_changed. --- src/xdisp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 86836714dcf..c64dd89f81d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -248,6 +248,7 @@ message_dolog (m, len, nlflag) { struct buffer *oldbuf; int oldpoint, oldbegv, oldzv; + int old_windows_or_buffers_changed = windows_or_buffers_changed; oldbuf = current_buffer; Fset_buffer (Fget_buffer_create (build_string ("*Messages*"))); @@ -316,6 +317,7 @@ message_dolog (m, len, nlflag) ZV = oldzv; TEMP_SET_PT (oldpoint); set_buffer_internal (oldbuf); + windows_or_buffers_changed = old_windows_or_buffers_changed; message_log_need_newline = !nlflag; } } -- 2.39.2