From 26124d5e0300e9be59aef9d182227a958128271b Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 11 Feb 2002 14:42:16 +0000 Subject: [PATCH] (Vmode_line_in_non_selected_windows): New variable. (syms_of_window): DEFVAR_LISP it. --- src/window.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; Lisp_Object Vtemp_buffer_show_function; +/* Nil means to use mode-line face in all windows. + t means to use mode-line-inactive face in all windows but the + selected-window and the minibuffer-scroll-window. + Any other value means to use mode-line-inactive face in all + non-selected windows (including minibuffer-scroll-window. */ +Lisp_Object Vmode_line_in_non_selected_windows; + /* If a window gets smaller than either of these, it is removed. */ int window_min_height; @@ -5796,6 +5803,12 @@ If nil, `display-buffer' will leave the window configuration alone. */); doc: /* Non-nil means it is the window that C-M-v in minibuffer should scroll. */); Vminibuf_scroll_window = Qnil; + DEFVAR_LISP ("mode-line-in-non-selected-windows", &Vmode_line_in_non_selected_windows, + doc: /* Non-nil means to use `mode-line-inactive' face in non-selected windows. +However, if value is t, the current `minibuffer-scroll-window' still +uses the `mode-line' face when minibuffer is active. */); + Vmode_line_in_non_selected_windows = Qt; + DEFVAR_LISP ("other-window-scroll-buffer", &Vother_window_scroll_buffer, doc: /* If non-nil, this is a buffer and \\[scroll-other-window] should scroll its window. */); Vother_window_scroll_buffer = Qnil; -- 2.39.2