diff options
| author | Kim F. Storm | 2002-02-11 14:42:16 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2002-02-11 14:42:16 +0000 |
| commit | 26124d5e0300e9be59aef9d182227a958128271b (patch) | |
| tree | b33e91f8e1fb4e74cc0c46f9bc049557d6cdb3c6 /src | |
| parent | 38b81d747a2b394f01732ca5fa93dbf04456e30a (diff) | |
| download | emacs-26124d5e0300e9be59aef9d182227a958128271b.tar.gz emacs-26124d5e0300e9be59aef9d182227a958128271b.zip | |
(Vmode_line_in_non_selected_windows): New variable.
(syms_of_window): DEFVAR_LISP it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 2340ec67aa2..80a93f12e63 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -133,6 +133,13 @@ Lisp_Object Vother_window_scroll_buffer; | |||
| 133 | 133 | ||
| 134 | Lisp_Object Vtemp_buffer_show_function; | 134 | Lisp_Object Vtemp_buffer_show_function; |
| 135 | 135 | ||
| 136 | /* Nil means to use mode-line face in all windows. | ||
| 137 | t means to use mode-line-inactive face in all windows but the | ||
| 138 | selected-window and the minibuffer-scroll-window. | ||
| 139 | Any other value means to use mode-line-inactive face in all | ||
| 140 | non-selected windows (including minibuffer-scroll-window. */ | ||
| 141 | Lisp_Object Vmode_line_in_non_selected_windows; | ||
| 142 | |||
| 136 | /* If a window gets smaller than either of these, it is removed. */ | 143 | /* If a window gets smaller than either of these, it is removed. */ |
| 137 | 144 | ||
| 138 | int window_min_height; | 145 | int window_min_height; |
| @@ -5796,6 +5803,12 @@ If nil, `display-buffer' will leave the window configuration alone. */); | |||
| 5796 | doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */); | 5803 | doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */); |
| 5797 | Vminibuf_scroll_window = Qnil; | 5804 | Vminibuf_scroll_window = Qnil; |
| 5798 | 5805 | ||
| 5806 | DEFVAR_LISP ("mode-line-in-non-selected-windows", &Vmode_line_in_non_selected_windows, | ||
| 5807 | doc: /* Non-nil means to use `mode-line-inactive' face in non-selected windows. | ||
| 5808 | However, if value is t, the current `minibuffer-scroll-window' still | ||
| 5809 | uses the `mode-line' face when minibuffer is active. */); | ||
| 5810 | Vmode_line_in_non_selected_windows = Qt; | ||
| 5811 | |||
| 5799 | DEFVAR_LISP ("other-window-scroll-buffer", &Vother_window_scroll_buffer, | 5812 | DEFVAR_LISP ("other-window-scroll-buffer", &Vother_window_scroll_buffer, |
| 5800 | doc: /* If non-nil, this is a buffer and \\[scroll-other-window] should scroll its window. */); | 5813 | doc: /* If non-nil, this is a buffer and \\[scroll-other-window] should scroll its window. */); |
| 5801 | Vother_window_scroll_buffer = Qnil; | 5814 | Vother_window_scroll_buffer = Qnil; |