cursor for buffers whose cursor_type is nil.
2000-09-18 Gerd Moellmann <gerd@gnu.org>
+ * xterm.c (x_display_and_set_cursor): Don't show a hollow box
+ cursor for buffers whose cursor_type is nil.
+
* xterm.c (x_draw_image_glyph_string): Remove a comment describing
a feature to implement that is already implemented.
(note_mouse_highlight, x_find_ccl_program): Avoid some compiler
{
extern int cursor_in_non_selected_windows;
- if (MINI_WINDOW_P (w) || !cursor_in_non_selected_windows)
+ if (MINI_WINDOW_P (w)
+ || !cursor_in_non_selected_windows
+ || NILP (XBUFFER (w->buffer)->cursor_type))
new_cursor_type = NO_CURSOR;
else
new_cursor_type = HOLLOW_BOX_CURSOR;