changeset 43283:1124d2e7429a

mode-line-in-non-selected-windows is now a boolean.
author Kim F. Storm <storm@cua.dk>
date Wed, 13 Feb 2002 22:44:45 +0000
parents 4e1019bea048
children 62ca366c7991
files man/display.texi src/ChangeLog
diffstat 2 files changed, 18 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/man/display.texi	Wed Feb 13 22:42:03 2002 +0000
+++ b/man/display.texi	Wed Feb 13 22:44:45 2002 +0000
@@ -792,15 +792,13 @@
 @cindex non-selected windows, mode line appearance
 @vindex mode-line-in-non-selected-windows
   By default, the mode line of non-selected windows is displayed in a
-different face, called @code{mode-line-inactive}.  You can control
-this behavior by customizing the value of the variable
-@code{mode-line-in-non-selected-windows}.  If its value is
-non-@code{nil}, non-selected windows are displayed in the
-@code{mode-line-inactive} face.  If the value is @code{t}, the
-selected window is displayed in the @code{mode-line} face even when
-you type at the minibuffer prompt.  If the value is @code{nil}, all
-mode lines are displayed in the @code{mode-line} face, even when the
-window is not selected.  The default is @code{t}.
+different face, called @code{mode-line-inactive}.  Only the selected
+window is displayed in the @code{mode-line} face.  When you type at
+the minibuffer prompt, the window in @code{minibuffer-scroll-window}
+is considered to be the selected window.  You can disable this
+behavior by setting the value of the variable
+@code{mode-line-in-non-selected-windows} to @code{nil}; then all mode
+lines are displayed in the @code{mode-line} face.
 
 @node Text Display
 @section How Text Is Displayed
--- a/src/ChangeLog	Wed Feb 13 22:42:03 2002 +0000
+++ b/src/ChangeLog	Wed Feb 13 22:44:45 2002 +0000
@@ -1,3 +1,14 @@
+2002-02-13  Kim F. Storm  <no-spam@cua.dk>
+
+	* window.c: (Vmode_line_in_non_selected_windows): Removed.
+	(mode_line_in_non_selected_windows): New variable.
+	(syms_of_window): DEFVAR_BOOL it.
+
+	* dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Use
+	mode_line_in_non_selected_windows.
+	(mode_line_in_non_selected_windows): Declare extern.
+	(Vmode_line_in_non_selected_windows): Removed extern.
+
 2002-02-13  Richard M. Stallman  <rms@gnu.org>
 
 	* keyboard.c (Fthis_command_keys, Fthis_command_keys_vector)