mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 23:10:47 -08:00
(setup_echo_area_for_printing): Call
message_log_maybe_newline if message_buf_print is not set.
This commit is contained in:
parent
eb7b678b97
commit
8a4e3c0cf0
2 changed files with 10 additions and 1 deletions
|
|
@ -1,12 +1,20 @@
|
|||
2000-06-14 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xdisp.c (setup_echo_area_for_printing): Call
|
||||
message_log_maybe_newline if message_buf_print is not set.
|
||||
|
||||
* print.c (printchar, strout): Don't check message_buf_print
|
||||
before calling setup_echo_area_for_printing because that
|
||||
function does something useful even when message_buf_print is
|
||||
already set.
|
||||
|
||||
* xdisp.c (message_truncate_lines, Qmessage_truncate_lines): New
|
||||
variables.
|
||||
(ensure_echo_area_buffers): Initialize echo buffer's
|
||||
truncate lines setting to nil.
|
||||
(with_echo_area_buffer): Don't set the echo buffer's truncate
|
||||
lines setting here.
|
||||
(set_message_1): Set it here, instead, based on the value
|
||||
(set_message_1): Set it here instead, based on the value
|
||||
of message_truncate_lines.
|
||||
(resize_mini_window): Handle case that lines are truncated.
|
||||
(syms_of_xdisp): Initialize Qmessage_truncate_lines. DEFVAR_BOOL
|
||||
|
|
|
|||
|
|
@ -5520,6 +5520,7 @@ setup_echo_area_for_printing (multibyte_p)
|
|||
Fraise_frame (WINDOW_FRAME (XWINDOW (mini_window)));
|
||||
}
|
||||
|
||||
message_log_maybe_newline ();
|
||||
message_buf_print = 1;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue