# HG changeset patch # User Richard M. Stallman # Date 1115053724 0 # Node ID 5a280c44c432c73f32a2380504c240994f3905c4 # Parent 8d4f9eb1c2fa85a24ad98b4df230e5a30b7e7bb6 (Vcursor_in_non_selected_windows) (Qcursor_in_non_selected_windows): Vars deleted. (syms_of_xdisp): Don't initialize them. (get_window_cursor_type): Use cursor_in_non_selected_windows buffer slot. diff -r 8d4f9eb1c2fa -r 5a280c44c432 src/xdisp.c --- a/src/xdisp.c Mon May 02 11:36:01 2005 +0000 +++ b/src/xdisp.c Mon May 02 17:08:44 2005 +0000 @@ -621,12 +621,6 @@ static int message_cleared_p; -/* Non-zero means we want a hollow cursor in windows that are not - selected. Zero means there's no cursor in such windows. */ - -Lisp_Object Vcursor_in_non_selected_windows; -Lisp_Object Qcursor_in_non_selected_windows; - /* How to blink the default frame cursor off. */ Lisp_Object Vblink_cursor_alist; @@ -20133,7 +20127,7 @@ /* Use cursor-in-non-selected-windows for non-selected window or frame. */ if (non_selected) { - alt_cursor = Fbuffer_local_value (Qcursor_in_non_selected_windows, w->buffer); + alt_cursor = XBUFFER (w->buffer)->cursor_in_non_selected_windows; return get_specified_cursor_type (alt_cursor, width); } @@ -22497,8 +22491,6 @@ staticpro (&Qpoly); Qmessage_truncate_lines = intern ("message-truncate-lines"); staticpro (&Qmessage_truncate_lines); - Qcursor_in_non_selected_windows = intern ("cursor-in-non-selected-windows"); - staticpro (&Qcursor_in_non_selected_windows); Qgrow_only = intern ("grow-only"); staticpro (&Qgrow_only); Qinhibit_menubar_update = intern ("inhibit-menubar-update"); @@ -22792,12 +22784,6 @@ go back to their normal size. */); Vresize_mini_windows = Qgrow_only; - DEFVAR_LISP ("cursor-in-non-selected-windows", - &Vcursor_in_non_selected_windows, - doc: /* *Cursor type to display in non-selected windows. -t means to use hollow box cursor. See `cursor-type' for other values. */); - Vcursor_in_non_selected_windows = Qt; - DEFVAR_LISP ("blink-cursor-alist", &Vblink_cursor_alist, doc: /* Alist specifying how to blink the cursor off. Each element has the form (ON-STATE . OFF-STATE). Whenever the