Mercurial > emacs
comparison src/xdisp.c @ 22209:571020b7fc5e
(message_dolog): Do set windows_or_buffers_changed,
if *Messages* is displayed in a window.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 24 May 1998 07:30:16 +0000 |
parents | 7110195b0127 |
children | 08fe53c6f8e3 |
comparison
equal
deleted
inserted
replaced
22208:5b05d45bfbbf | 22209:571020b7fc5e |
---|---|
294 struct buffer *oldbuf; | 294 struct buffer *oldbuf; |
295 Lisp_Object oldpoint, oldbegv, oldzv; | 295 Lisp_Object oldpoint, oldbegv, oldzv; |
296 int old_windows_or_buffers_changed = windows_or_buffers_changed; | 296 int old_windows_or_buffers_changed = windows_or_buffers_changed; |
297 int point_at_end = 0; | 297 int point_at_end = 0; |
298 int zv_at_end = 0; | 298 int zv_at_end = 0; |
299 Lisp_Object old_deactivate_mark; | 299 Lisp_Object old_deactivate_mark, tem; |
300 | 300 |
301 old_deactivate_mark = Vdeactivate_mark; | 301 old_deactivate_mark = Vdeactivate_mark; |
302 oldbuf = current_buffer; | 302 oldbuf = current_buffer; |
303 Fset_buffer (Fget_buffer_create (build_string ("*Messages*"))); | 303 Fset_buffer (Fget_buffer_create (build_string ("*Messages*"))); |
304 current_buffer->undo_list = Qt; | 304 current_buffer->undo_list = Qt; |
417 | 417 |
418 free_marker (oldpoint); | 418 free_marker (oldpoint); |
419 free_marker (oldbegv); | 419 free_marker (oldbegv); |
420 free_marker (oldzv); | 420 free_marker (oldzv); |
421 | 421 |
422 tem = Fget_buffer_window (Fcurrent_buffer (), Qt); | |
422 set_buffer_internal (oldbuf); | 423 set_buffer_internal (oldbuf); |
423 windows_or_buffers_changed = old_windows_or_buffers_changed; | 424 if (NILP (tem)) |
425 windows_or_buffers_changed = old_windows_or_buffers_changed; | |
424 message_log_need_newline = !nlflag; | 426 message_log_need_newline = !nlflag; |
425 Vdeactivate_mark = old_deactivate_mark; | 427 Vdeactivate_mark = old_deactivate_mark; |
426 } | 428 } |
427 } | 429 } |
428 | 430 |