1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

(display_mode_element): If the mode element is a symbol

with a string value, use that string's multibyteness for
displaying.
This commit is contained in:
Gerd Moellmann 2001-09-25 11:38:24 +00:00
parent 9fb2699eba
commit b7a2271276
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2001-09-25 Gerd Moellmann <gerd@gnu.org>
* 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 <monnier@cs.yale.edu>.

View File

@ -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))
{