changeset 43204:1b0f33edf842

(mode-line-inactive): New face for mode-line for non-selected windows. (mode-line): Doc fix: Only used for selected window.
author Kim F. Storm <storm@cua.dk>
date Fri, 08 Feb 2002 23:51:56 +0000
parents dd98ef3675e5
children 802b4363512b
files lisp/faces.el
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Fri Feb 08 23:49:51 2002 +0000
+++ b/lisp/faces.el	Fri Feb 08 23:51:56 2002 +0000
@@ -1708,13 +1708,27 @@
 	   :background "grey75" :foreground "black"))
     (t
      (:inverse-video t)))
-  "Basic mode line face."
+  "Basic mode line face for selected window."
   :version "21.1"
   :group 'modeline
   :group 'basic-faces)
 
+(defface mode-line-inactive
+  '((((type x w32 mac) (class color))
+     :inherit mode-line
+     :weight light
+     :box (:line-width -1 :color "grey75" :style nil)
+     :foreground "grey20" :background "grey90")
+    (t
+     :inverse-video t))
+  "Basic mode line face for non-selected windows."
+  :version "21.2"
+  :group 'modeline
+  :group 'basic-faces)
+
 ;; Make `modeline' an alias for `mode-line', for compatibility.
 (put 'modeline 'face-alias 'mode-line)
+(put 'modeline-inactive 'face-alias 'mode-line-inactive)
 
 (defface header-line
   '((((type tty))