aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-02 17:10:29 +0000
committerRichard M. Stallman2005-05-02 17:10:29 +0000
commit0124c5bdea37ac8b42b22472e3a0dcfbf7ea795a (patch)
treea79ac3f66d28c1bff200d29228fd4dd8fefb4f39 /src
parent55806be17d22ad5970e05ed06005f8ae04bc7837 (diff)
downloademacs-0124c5bdea37ac8b42b22472e3a0dcfbf7ea795a.tar.gz
emacs-0124c5bdea37ac8b42b22472e3a0dcfbf7ea795a.zip
(syms_of_buffer): Define cursor-in-non-selected-windows.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog12
-rw-r--r--src/buffer.c6
2 files changed, 18 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 65151ae99ce..100ac96481d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,15 @@
12005-05-02 Richard M. Stallman <rms@gnu.org>
2
3 * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows.
4
5 * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot.
6
7 * xdisp.c (Vcursor_in_non_selected_windows)
8 (Qcursor_in_non_selected_windows): Vars deleted.
9 (syms_of_xdisp): Don't initialize them.
10 (get_window_cursor_type): Use cursor_in_non_selected_windows
11 buffer slot.
12
12005-05-02 Kim F. Storm <storm@cua.dk> 132005-05-02 Kim F. Storm <storm@cua.dk>
2 14
3 * macros.c (executing_kbd_macro_index): Rename from 15 * macros.c (executing_kbd_macro_index): Rename from
diff --git a/src/buffer.c b/src/buffer.c
index 1fba9136375..e71c590faae 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5068,6 +5068,7 @@ init_buffer_once ()
5068 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx; 5068 XSETFASTINT (buffer_local_flags.header_line_format, idx); ++idx;
5069 XSETFASTINT (buffer_local_flags.cursor_type, idx); ++idx; 5069 XSETFASTINT (buffer_local_flags.cursor_type, idx); ++idx;
5070 XSETFASTINT (buffer_local_flags.extra_line_spacing, idx); ++idx; 5070 XSETFASTINT (buffer_local_flags.extra_line_spacing, idx); ++idx;
5071 XSETFASTINT (buffer_local_flags.cursor_in_non_selected_windows, idx); ++idx;
5071 5072
5072 /* Need more room? */ 5073 /* Need more room? */
5073 if (idx >= MAX_PER_BUFFER_VARS) 5074 if (idx >= MAX_PER_BUFFER_VARS)
@@ -5938,6 +5939,11 @@ The space is measured in pixels, and put below lines on window systems.
5938If value is a floating point number, it specifies the spacing relative 5939If value is a floating point number, it specifies the spacing relative
5939to the default frame line height. */); 5940to the default frame line height. */);
5940 5941
5942 DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows",
5943 &current_buffer->cursor_in_non_selected_windows, Qt,
5944 doc: /* *Cursor type to display in non-selected windows.
5945t means to use hollow box cursor. See `cursor-type' for other values. */);
5946
5941 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions, 5947 DEFVAR_LISP ("kill-buffer-query-functions", &Vkill_buffer_query_functions,
5942 doc: /* List of functions called with no args to query before killing a buffer. */); 5948 doc: /* List of functions called with no args to query before killing a buffer. */);
5943 Vkill_buffer_query_functions = Qnil; 5949 Vkill_buffer_query_functions = Qnil;