From: Richard M. Stallman Date: Sun, 21 Dec 1997 02:17:16 +0000 (+0000) Subject: (message2_nolog): New arg MULTIBYTE. X-Git-Tag: emacs-20.3~2580 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44461111ef6f632c63c92790d217a8653693cb1d;p=emacs.git (message2_nolog): New arg MULTIBYTE. (message2): Pass new arg to message2_nolog. (message1_nolog): Likewise. --- 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