1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 18:41:25 -08:00

* xdisp.c (display_string): Use w's buffer's value of

tab-width to display the string, instead of the current buffer's,
	which could be anything.
This commit is contained in:
Jim Blandy 1992-11-16 00:58:49 +00:00
parent 7104f9b06c
commit 253c7d2f32

View file

@ -2180,7 +2180,7 @@ display_string (w, vpos, string, hpos, truncate, mincol, maxcol)
register int c;
register GLYPH *p1;
int hscroll = XINT (w->hscroll);
int tab_width = XINT (current_buffer->tab_width);
int tab_width = XINT (XBUFFER (w->buffer)->tab_width);
register GLYPH *start;
register GLYPH *end;
struct frame_glyphs *desired_glyphs = FRAME_DESIRED_GLYPHS (XFRAME (w->frame));