mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
(setup_echo_area_for_printing): Set truncate_lines to
nil, otherwise we're left with truncate_lines t when a message is printed with message-truncate-lines bound to t.
This commit is contained in:
parent
b3ae7a0a1e
commit
ab2c5f0a5d
2 changed files with 12 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2001-02-20 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xdisp.c (setup_echo_area_for_printing): Set truncate_lines to
|
||||
nil, otherwise we're left with truncate_lines t when a message
|
||||
is printed with message-truncate-lines bound to t.
|
||||
|
||||
2001-02-19 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* window.c (Fmove_to_window_line): Undo last change.
|
||||
|
|
|
|||
|
|
@ -6050,6 +6050,7 @@ setup_echo_area_for_printing (multibyte_p)
|
|||
|
||||
/* Switch to that buffer and clear it. */
|
||||
set_buffer_internal (XBUFFER (echo_area_buffer[0]));
|
||||
current_buffer->truncate_lines = Qnil;
|
||||
|
||||
if (Z > BEG)
|
||||
{
|
||||
|
|
@ -6088,8 +6089,11 @@ setup_echo_area_for_printing (multibyte_p)
|
|||
}
|
||||
|
||||
if (current_buffer != XBUFFER (echo_area_buffer[0]))
|
||||
/* Someone switched buffers between print requests. */
|
||||
set_buffer_internal (XBUFFER (echo_area_buffer[0]));
|
||||
{
|
||||
/* Someone switched buffers between print requests. */
|
||||
set_buffer_internal (XBUFFER (echo_area_buffer[0]));
|
||||
current_buffer->truncate_lines = Qnil;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue