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:
parent
7104f9b06c
commit
253c7d2f32
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue