From: Gerd Moellmann Date: Thu, 24 Feb 2000 13:53:12 +0000 (+0000) Subject: (cursor_in_non_selected_windows): New variable. X-Git-Tag: emacs-pretest-21.0.90~4903 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6d26ed3fb3ce93e660202c3c3df6870b03a509b;p=emacs.git (cursor_in_non_selected_windows): New variable. (syms_of_xdisp): DEFVAR_BOOL it. --- diff --git a/src/xdisp.c b/src/xdisp.c index 3a8b8b42e96..22ce92b739b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -481,6 +481,11 @@ int message_buf_print; static Lisp_Object Vmax_mini_window_height; +/* Non-zero means we want a hollow cursor in windows that are not + selected. Zero means there's no cursor in such windows. */ + +int cursor_in_non_selected_windows; + /* A scratch glyph row with contents used for generating truncation glyphs. Also used in direct_output_for_insert. */ @@ -13049,6 +13054,12 @@ If a float, it specifies a fraction of the mini-window frame's height.\n\ If an integer, it specifies a number of lines.\n\ If nil, don't resize."); Vmax_mini_window_height = make_float (0.25); + + DEFVAR_BOOL ("cursor-in-non-selected-windows", + &cursor_in_non_selected_windows, + "*Non-nil means display a hollow cursor in non-selected windows.\n\ +Nil means don't display a cursor there."); + cursor_in_non_selected_windows = 1; }