]> code.delx.au - gnu-emacs/commitdiff
mode-line-in-non-selected-windows is now a boolean.
authorKim F. Storm <storm@cua.dk>
Wed, 13 Feb 2002 22:44:45 +0000 (22:44 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 13 Feb 2002 22:44:45 +0000 (22:44 +0000)
man/display.texi
src/ChangeLog

index 0b5683ac58ba68b800c2613f4409a1279348dbd1..bc7dd4d5e03aebf61b33187b2ba8ce834d836654 100644 (file)
@@ -792,15 +792,13 @@ Emacs.mode-line.AttributeBox: off
 @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
index e8dd588bdd2867ade670679d331b8cd578613ed3..259c870fd54f80e6a6a76edd10ddaea64bd6df99 100644 (file)
@@ -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)