diff options
author | Kim F. Storm <storm@cua.dk> | 2002-02-13 22:41:12 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2002-02-13 22:41:12 +0000 |
commit | cc91894c70d24a0b78528197000551a0237a29de (patch) | |
tree | 3ea2d344e1f30d4135a08b8b1e215af4a0ff7ca1 | |
parent | c3114036a40216a1d497bd1fb4dcc84b09290798 (diff) | |
download | emacs-cc91894c70d24a0b78528197000551a0237a29de.tar.gz emacs-cc91894c70d24a0b78528197000551a0237a29de.tar.bz2 emacs-cc91894c70d24a0b78528197000551a0237a29de.zip |
(Vmode_line_in_non_selected_windows): Removed.
(mode_line_in_non_selected_windows): New variable.
(syms_of_window): DEFVAR_BOOL it.
-rw-r--r-- | src/window.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/window.c b/src/window.c index 80a93f12e63..d797ff75627 100644 --- a/src/window.c +++ b/src/window.c @@ -133,12 +133,10 @@ 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; +/* Non-zero means to use mode-line-inactive face in all windows but the + selected-window and the minibuffer-scroll-window when the + minibuffer is active. */ +int mode_line_in_non_selected_windows; /* If a window gets smaller than either of these, it is removed. */ @@ -5803,11 +5801,11 @@ 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, + DEFVAR_BOOL ("mode-line-in-non-selected-windows", &mode_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; +If the minibuffer is active, the `minibuffer-scroll-window' mode line +is displayed in the `mode-line' face. */); + mode_line_in_non_selected_windows = 1; 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. */); |