comparison src/xdisp.c @ 8919:644f69fe736e

Add a new element to display tables controlling side-by-side window borders. * buffer.c (syms_of_buffer): Update doc string for `buffer-display-table'. * disptab.h (DISP_TABLE_SIZE): Bump to 262. (DISP_BORDER_GLYPH): New accessor macro. * xdisp.c (display_text_line): Consult the display table when building side-by-side window borders.
author Jim Blandy <jimb@redhat.com>
date Mon, 19 Sep 1994 17:28:37 +0000
parents 1be99ca9da45
children a9e40d478857
comparison
equal deleted inserted replaced
8918:1be99ca9da45 8919:644f69fe736e
2502 /* Don't draw vertical bars if we're using scroll bars. They're 2502 /* Don't draw vertical bars if we're using scroll bars. They're
2503 covered up by the scroll bars, and it's distracting to see 2503 covered up by the scroll bars, and it's distracting to see
2504 them when the scroll bar windows are flickering around to be 2504 them when the scroll bar windows are flickering around to be
2505 reconfigured. */ 2505 reconfigured. */
2506 *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) 2506 *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
2507 ? ' ' : '|'); 2507 ? ' '
2508 : (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
2509 ? DISP_BORDER_GLYPH (dp)
2510 : '|'));
2508 } 2511 }
2509 desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], 2512 desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos],
2510 p1 - desired_glyphs->glyphs[vpos]); 2513 p1 - desired_glyphs->glyphs[vpos]);
2511 desired_glyphs->glyphs[vpos][desired_glyphs->used[vpos]] = 0; 2514 desired_glyphs->glyphs[vpos][desired_glyphs->used[vpos]] = 0;
2512 2515