# HG changeset patch # User Richard M. Stallman # Date 873606149 0 # Node ID a5c3942ea72b5a118592c604f9da7c6056d558eb # Parent f774a63eb5a6fcea255f4733e66356da85fc60aa (display_string): Determine multibyte from current buffer, not from W's buffer. diff -r f774a63eb5a6 -r a5c3942ea72b src/xdisp.c --- a/src/xdisp.c Sun Sep 07 04:08:18 1997 +0000 +++ b/src/xdisp.c Sun Sep 07 04:22:29 1997 +0000 @@ -4722,7 +4722,7 @@ GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos; int window_width = XFASTINT (w->width); /* If 1, we must display multibyte characters. */ - int multibyte = !NILP (XBUFFER (w->buffer)->enable_multibyte_characters); + int multibyte = !NILP (current_buffer->enable_multibyte_characters); /* Use the standard display table, not the window's display table. We don't want the mode line in rot13. */