From: Gerd Moellmann Date: Tue, 25 Sep 2001 11:38:24 +0000 (+0000) Subject: (display_mode_element): If the mode element is a symbol X-Git-Tag: emacs-21.1~167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7a22712762d8e674480698bb851cb7776abdc35;p=emacs.git (display_mode_element): If the mode element is a symbol with a string value, use that string's multibyteness for displaying. --- 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)) {