From 44461111ef6f632c63c92790d217a8653693cb1d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Dec 1997 02:17:16 +0000 Subject: [PATCH] (message2_nolog): New arg MULTIBYTE. (message2): Pass new arg to message2_nolog. (message1_nolog): Likewise. --- src/xdisp.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index cc65fff9ae9..4eac7d54592 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -459,19 +459,19 @@ message2 (m, len) message_log_maybe_newline (); if (m) message_dolog (m, len, 1); - message2_nolog (m, len); + message2_nolog (m, len, + ! NILP (current_buffer->enable_multibyte_characters)); } /* The non-logging counterpart of message2. */ void -message2_nolog (m, len) +message2_nolog (m, len, multibyte) char *m; int len; { - message_enable_multibyte - = ! NILP (current_buffer->enable_multibyte_characters); + message_enable_multibyte = multibyte; if (noninteractive) { @@ -542,7 +542,8 @@ void message1_nolog (m) char *m; { - message2_nolog (m, (m ? strlen (m) : 0)); + message2_nolog (m, (m ? strlen (m) : 0), + ! NILP (current_buffer->enable_multibyte_characters)); } /* Truncate what will be displayed in the echo area -- 2.39.2