mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 12:31:32 -08:00
(syms_of_buffer): Define cursor-in-non-selected-windows.
This commit is contained in:
parent
55806be17d
commit
0124c5bdea
2 changed files with 18 additions and 0 deletions
|
|
@ -1,3 +1,15 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -5068,6 +5068,7 @@ init_buffer_once ()
|
|||
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 @@ The space is measured in pixels, and put below lines on window systems.
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue