+2005-05-02 Richard M. Stallman <rms@gnu.org>
+
+ * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows.
+
+ * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot.
+
+ * xdisp.c (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.
+
2005-05-02 Kim F. Storm <storm@cua.dk>
* macros.c (executing_kbd_macro_index): Rename from
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)
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;