# HG changeset patch # User Richard M. Stallman # Date 1115053808 0 # Node ID bc82609e165599003613cab70c5862148db3cd5d # Parent 12d1ea96b4664d49458555496ed55dce032d67a6 (syms_of_buffer): Define cursor-in-non-selected-windows. diff -r 12d1ea96b466 -r bc82609e1655 src/buffer.c --- a/src/buffer.c Mon May 02 17:09:13 2005 +0000 +++ b/src/buffer.c Mon May 02 17:10:08 2005 +0000 @@ -5068,6 +5068,7 @@ XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; XSETFASTINT (buffer_local_flags.cursor_type, idx); ++idx; XSETFASTINT (buffer_local_flags.extra_line_spacing, idx); ++idx; + XSETFASTINT (buffer_local_flags.cursor_in_non_selected_windows, idx); ++idx; /* Need more room? */ if (idx >= MAX_PER_BUFFER_VARS) @@ -5938,6 +5939,11 @@ If value is a floating point number, it specifies the spacing relative to the default frame line height. */); + DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", + ¤t_buffer->cursor_in_non_selected_windows, Qt, + doc: /* *Cursor type to display in non-selected windows. +t means to use hollow box cursor. See `cursor-type' for other values. */); + DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, doc: /* List of functions called with no args to query before killing a buffer. */); Vkill_buffer_query_functions = Qnil;