diff options
| author | Gerd Moellmann | 2000-02-24 13:53:12 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-02-24 13:53:12 +0000 |
| commit | d6d26ed3fb3ce93e660202c3c3df6870b03a509b (patch) | |
| tree | 701c9788b5b8eddd9204aefe6a38e73d6e784908 /src | |
| parent | cb8325bf5268a8feaca46f0ac62f0331f72027ca (diff) | |
| download | emacs-d6d26ed3fb3ce93e660202c3c3df6870b03a509b.tar.gz emacs-d6d26ed3fb3ce93e660202c3c3df6870b03a509b.zip | |
(cursor_in_non_selected_windows): New variable.
(syms_of_xdisp): DEFVAR_BOOL it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 3a8b8b42e96..22ce92b739b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -481,6 +481,11 @@ int message_buf_print; | |||
| 481 | 481 | ||
| 482 | static Lisp_Object Vmax_mini_window_height; | 482 | static Lisp_Object Vmax_mini_window_height; |
| 483 | 483 | ||
| 484 | /* Non-zero means we want a hollow cursor in windows that are not | ||
| 485 | selected. Zero means there's no cursor in such windows. */ | ||
| 486 | |||
| 487 | int cursor_in_non_selected_windows; | ||
| 488 | |||
| 484 | /* A scratch glyph row with contents used for generating truncation | 489 | /* A scratch glyph row with contents used for generating truncation |
| 485 | glyphs. Also used in direct_output_for_insert. */ | 490 | glyphs. Also used in direct_output_for_insert. */ |
| 486 | 491 | ||
| @@ -13049,6 +13054,12 @@ If a float, it specifies a fraction of the mini-window frame's height.\n\ | |||
| 13049 | If an integer, it specifies a number of lines.\n\ | 13054 | If an integer, it specifies a number of lines.\n\ |
| 13050 | If nil, don't resize."); | 13055 | If nil, don't resize."); |
| 13051 | Vmax_mini_window_height = make_float (0.25); | 13056 | Vmax_mini_window_height = make_float (0.25); |
| 13057 | |||
| 13058 | DEFVAR_BOOL ("cursor-in-non-selected-windows", | ||
| 13059 | &cursor_in_non_selected_windows, | ||
| 13060 | "*Non-nil means display a hollow cursor in non-selected windows.\n\ | ||
| 13061 | Nil means don't display a cursor there."); | ||
| 13062 | cursor_in_non_selected_windows = 1; | ||
| 13052 | } | 13063 | } |
| 13053 | 13064 | ||
| 13054 | 13065 | ||