From b7a22712762d8e674480698bb851cb7776abdc35 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 25 Sep 2001 11:38:24 +0000 Subject: [PATCH] (display_mode_element): If the mode element is a symbol with a string value, use that string's multibyteness for displaying. --- src/ChangeLog | 4 ++++ src/xdisp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1b596258496..509cd8d4005 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2001-09-25 Gerd Moellmann + * xdisp.c (display_mode_element): If the mode element is a symbol + with a string value, use that string's multibyteness for + displaying. + * keyboard.c (read_char): Don't clear a message for a switch-frame event. From Stefan Monnier . diff --git a/src/xdisp.c b/src/xdisp.c index cf518632aa1..e7ee384f381 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13511,7 +13511,7 @@ display_mode_element (it, depth, field_width, precision, elt) n += store_frame_title (XSTRING (tem)->data, -1, prec); else n += display_string (NULL, tem, Qnil, 0, 0, it, - 0, prec, 0, -1); + 0, prec, 0, STRING_MULTIBYTE (tem)); } else if (!EQ (tem, elt)) { -- 2.39.2