summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2002-02-13 22:44:45 +0000
committerKim F. Storm <storm@cua.dk>2002-02-13 22:44:45 +0000
commit1c9f5f23c41158a2fe9db2244a9d1c45438c1ee0 (patch)
treedbd6a5b757121fff8a1e0c80506a67bb40f7b749
parent5f380a5baae9b009bac43a4a87869b1cbd4f440c (diff)
downloademacs-1c9f5f23c41158a2fe9db2244a9d1c45438c1ee0.tar.gz
mode-line-in-non-selected-windows is now a boolean.
-rw-r--r--man/display.texi16
-rw-r--r--src/ChangeLog11
2 files changed, 18 insertions, 9 deletions
diff --git a/man/display.texi b/man/display.texi
index 0b5683ac58b..bc7dd4d5e03 100644
--- a/man/display.texi
+++ b/man/display.texi
@@ -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
diff --git a/src/ChangeLog b/src/ChangeLog
index e8dd588bdd2..259c870fd54 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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)