From: Gerd Moellmann Date: Thu, 27 Sep 2001 08:35:44 +0000 (+0000) Subject: (display_mode_element): One more case where a string's X-Git-Tag: emacs-21.1~143 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca77144dfa3a6ff7a5601fcce1c507f191f98282;p=emacs.git (display_mode_element): One more case where a string's multibyteness should be used for display. --- diff --git a/src/xdisp.c b/src/xdisp.c index 295bf1be5f6..00447cdb48d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13478,7 +13478,8 @@ display_mode_element (it, depth, field_width, precision, elt) int bytepos = last - lisp_string; int charpos = string_byte_to_char (elt, bytepos); n += display_string (NULL, elt, Qnil, 0, charpos, - it, 0, prec, 0, -1); + it, 0, prec, 0, + STRING_MULTIBYTE (elt)); } } else /* c == '%' */