Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/xdisp.c Mon Sep 19 17:17:02 1994 +0000 +++ b/src/xdisp.c Mon Sep 19 17:28:37 1994 +0000 @@ -2504,7 +2504,10 @@ them when the scroll bar windows are flickering around to be reconfigured. */ *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) - ? ' ' : '|'); + ? ' ' + : (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) + ? DISP_BORDER_GLYPH (dp) + : '|')); } desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], p1 - desired_glyphs->glyphs[vpos]);