diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-09-07 04:22:29 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-09-07 04:22:29 +0000 |
commit | 50b37e9cecc462c114cf843027af7b309686504c (patch) | |
tree | 245db19b2fb707df34e82f1d45bfb5837a296f95 | |
parent | 15f3e0377df19bc3969c7e57bb739a37c449daba (diff) | |
download | emacs-50b37e9cecc462c114cf843027af7b309686504c.tar.gz |
(display_string): Determine multibyte from current buffer,
not from W's buffer.
-rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 40642ecb16c..3c3e526ead5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4722,7 +4722,7 @@ display_string (w, vpos, string, length, hpos, truncate, 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. */ |