# HG changeset patch # User Gerd Moellmann # Date 969311403 0 # Node ID 9ff91d2b19f8cd1fbc1fce005a974ea747d1e1f0 # Parent 69ef0def4cc652a34a0bbaf9cabfe889586624ed (x_display_and_set_cursor): Don't show a hollow box cursor for buffers whose cursor_type is nil. diff -r 69ef0def4cc6 -r 9ff91d2b19f8 src/xterm.c --- a/src/xterm.c Mon Sep 18 18:45:34 2000 +0000 +++ b/src/xterm.c Mon Sep 18 21:10:03 2000 +0000 @@ -10669,7 +10669,9 @@ { 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;