1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00

(show_help_echo): Call message3_nolog with number of

bytes in the help string as 2nd parameter, instead of the number
of characters.
This commit is contained in:
Gerd Moellmann 2000-11-13 13:39:21 +00:00
parent 9d34829472
commit 5ca020fca3
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2000-11-13 Gerd Moellmann <gerd@gnu.org>
* keyboard.c (show_help_echo): Call message3_nolog with number of
bytes in the help string as 2nd parameter, instead of the number
of characters.
2000-11-13 Miles Bader <miles@gnu.org>
* lread.c (openp): Return -2 instead of 0 for the `remote file' case.

View file

@ -2001,7 +2001,7 @@ show_help_echo (help, window, object, pos, ok_to_overwrite_keystroke_echo)
{
int count = specpdl_ptr - specpdl;
specbind (Qmessage_truncate_lines, Qt);
message3_nolog (help, XSTRING (help)->size,
message3_nolog (help, STRING_BYTES (XSTRING (help)),
STRING_MULTIBYTE (help));
unbind_to (count, Qnil);
}