From 3f1ea77ed6978118921e4ab6c76436a8781a25e6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 7 Sep 1997 04:22:29 +0000 Subject: [PATCH] (display_string): Determine multibyte from current buffer, not from W's buffer. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.2