diff options
| author | Kim F. Storm | 2005-05-04 22:10:14 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-05-04 22:10:14 +0000 |
| commit | 187ccf4905035f9f953489d1612f9075c3074df5 (patch) | |
| tree | fc1bd072f145be0ce550944d12b393f3162f0da9 /src/buffer.c | |
| parent | 99bda1288f8138ae31e3aa280645051b61087704 (diff) | |
| download | emacs-187ccf4905035f9f953489d1612f9075c3074df5.tar.gz emacs-187ccf4905035f9f953489d1612f9075c3074df5.zip | |
(init_buffer_once): Set cursor_in_non_selected_windows default value.
(syms_of_buffer): Add default-cursor-in-non-selected-windows.
Fix type of cursor-in-non-selected-windows.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index e71c590faae..e9567841c8e 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* Buffer manipulation primitives for GNU Emacs. | 1 | /* Buffer manipulation primitives for GNU Emacs. |
| 2 | Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99, | 2 | Copyright (C) 1985, 86, 87, 88, 89, 93, 94, 95, 97, 98, 99, |
| 3 | 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc. | 3 | 2000, 01, 02, 03, 04, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -4972,6 +4972,7 @@ init_buffer_once () | |||
| 4972 | buffer_defaults.direction_reversed = Qnil; | 4972 | buffer_defaults.direction_reversed = Qnil; |
| 4973 | buffer_defaults.cursor_type = Qt; | 4973 | buffer_defaults.cursor_type = Qt; |
| 4974 | buffer_defaults.extra_line_spacing = Qnil; | 4974 | buffer_defaults.extra_line_spacing = Qnil; |
| 4975 | buffer_defaults.cursor_in_non_selected_windows = Qt; | ||
| 4975 | 4976 | ||
| 4976 | #ifdef DOS_NT | 4977 | #ifdef DOS_NT |
| 4977 | buffer_defaults.buffer_file_type = Qnil; /* TEXT */ | 4978 | buffer_defaults.buffer_file_type = Qnil; /* TEXT */ |
| @@ -5260,6 +5261,11 @@ This is the same as (default-value 'cursor-type). */); | |||
| 5260 | doc: /* Default value of `line-spacing' for buffers that don't override it. | 5261 | doc: /* Default value of `line-spacing' for buffers that don't override it. |
| 5261 | This is the same as (default-value 'line-spacing). */); | 5262 | This is the same as (default-value 'line-spacing). */); |
| 5262 | 5263 | ||
| 5264 | DEFVAR_LISP_NOPRO ("default-cursor-in-non-selected-windows", | ||
| 5265 | &buffer_defaults.cursor_in_non_selected_windows, | ||
| 5266 | doc: /* Default value of `cursor-in-non-selected-windows'. | ||
| 5267 | This is the same as (default-value 'cursor-in-non-selected-windows). */); | ||
| 5268 | |||
| 5263 | DEFVAR_LISP_NOPRO ("default-abbrev-mode", | 5269 | DEFVAR_LISP_NOPRO ("default-abbrev-mode", |
| 5264 | &buffer_defaults.abbrev_mode, | 5270 | &buffer_defaults.abbrev_mode, |
| 5265 | doc: /* Default value of `abbrev-mode' for buffers that do not override it. | 5271 | doc: /* Default value of `abbrev-mode' for buffers that do not override it. |
| @@ -5940,7 +5946,7 @@ If value is a floating point number, it specifies the spacing relative | |||
| 5940 | to the default frame line height. */); | 5946 | to the default frame line height. */); |
| 5941 | 5947 | ||
| 5942 | DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", | 5948 | DEFVAR_PER_BUFFER ("cursor-in-non-selected-windows", |
| 5943 | ¤t_buffer->cursor_in_non_selected_windows, Qt, | 5949 | ¤t_buffer->cursor_in_non_selected_windows, Qnil, |
| 5944 | doc: /* *Cursor type to display in non-selected windows. | 5950 | doc: /* *Cursor type to display in non-selected windows. |
| 5945 | t means to use hollow box cursor. See `cursor-type' for other values. */); | 5951 | t means to use hollow box cursor. See `cursor-type' for other values. */); |
| 5946 | 5952 | ||