On 6/6/05, Juri Linkov <[EMAIL PROTECTED]> wrote:
> Is it possible to set inverse colors for the vertical border
> by default without using the display table?
It's easy just using the same method Len used in lisp. Any objection
to the following patch? Should it use a different face (note that the
actual face that ends up being used by this code is
`mode-line-inactive', even though the code says MODE_LINE_FACE_ID; I'm
not sure why this is)?
2005-06-07 Miles Bader <[EMAIL PROTECTED]>
* dispnew.c (build_frame_matrix_from_leaf_window): Display
vertical window-separator on ttys using mode-line face by default.
--- orig/src/dispnew.c
+++ mod/src/dispnew.c
@@ -2724,7 +2724,7 @@
struct Lisp_Char_Table *dp = window_display_table (w);
right_border_glyph = (dp && INTEGERP (DISP_BORDER_GLYPH (dp))
? XINT (DISP_BORDER_GLYPH (dp))
- : '|');
+ : ('|' + (MODE_LINE_FACE_ID << FACE_ID_BITS)));
}
}
else
-Miles
--
Do not taunt Happy Fun Ball.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel