aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-09-07 04:22:29 +0000
committerRichard M. Stallman1997-09-07 04:22:29 +0000
commit3f1ea77ed6978118921e4ab6c76436a8781a25e6 (patch)
tree5a4e13bb3f46f117079624b7193f8f1e9d7018de /src
parent1b317e2c3e0449c92cb284c5be4e86f1ed7a09e6 (diff)
downloademacs-3f1ea77ed6978118921e4ab6c76436a8781a25e6.tar.gz
emacs-3f1ea77ed6978118921e4ab6c76436a8781a25e6.zip
(display_string): Determine multibyte from current buffer,
not from W's buffer.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
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,
4722 GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos; 4722 GLYPH *p1start = desired_glyphs->glyphs[vpos] + hpos;
4723 int window_width = XFASTINT (w->width); 4723 int window_width = XFASTINT (w->width);
4724 /* If 1, we must display multibyte characters. */ 4724 /* If 1, we must display multibyte characters. */
4725 int multibyte = !NILP (XBUFFER (w->buffer)->enable_multibyte_characters); 4725 int multibyte = !NILP (current_buffer->enable_multibyte_characters);
4726 4726
4727 /* Use the standard display table, not the window's display table. 4727 /* Use the standard display table, not the window's display table.
4728 We don't want the mode line in rot13. */ 4728 We don't want the mode line in rot13. */