Mercurial > emacs
diff src/xdisp.c @ 36227:aced2f7101b9
(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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 20 Feb 2001 14:54:23 +0000 |
parents | 32505f3d0441 |
children | 54f26d21b7a7 |
line wrap: on
line diff
--- a/src/xdisp.c Tue Feb 20 13:36:21 2001 +0000 +++ b/src/xdisp.c Tue Feb 20 14:54:23 2001 +0000 @@ -6050,6 +6050,7 @@ /* 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 @@ } 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; + } } }