Mercurial > emacs
changeset 31699:9ff91d2b19f8
(x_display_and_set_cursor): Don't show a hollow box
cursor for buffers whose cursor_type is nil.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 18 Sep 2000 21:10:03 +0000 |
parents | 69ef0def4cc6 |
children | b90d3baf7f98 |
files | src/xterm.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;