# HG changeset patch # User Miles Bader # Date 1025680123 0 # Node ID f883ac732e398f6c1dfd915975ac7ab45710082b # Parent 9319ffebc601e7524d0cae9a0251a248412a8a1f (header-line): Don't use a `common' clause for inheriting from the mode-line face, since we can't override it, and we don't want it for ttys. diff -r 9319ffebc601 -r f883ac732e39 lisp/faces.el --- a/lisp/faces.el Wed Jul 03 07:03:51 2002 +0000 +++ b/lisp/faces.el Wed Jul 03 07:08:43 2002 +0000 @@ -1808,9 +1808,7 @@ (put 'modeline-inactive 'face-alias 'mode-line-inactive) (defface header-line - '((t - :inherit mode-line) - (((type tty)) + '((((type tty)) ;; This used to be `:inverse-video t', but that doesn't look very ;; good when combined with inverse-video mode-lines and multiple ;; windows. Underlining looks better, and is more consistent with @@ -1820,24 +1818,27 @@ ;; highlighting; this may be too confusing in general, although it ;; happens to look good with the only current use of header-lines, ;; the info browser. XXX - :underline t - :inverse-video nil) + :underline t) (((class color grayscale) (background light)) :background "grey90" :foreground "grey20" - :box nil) + :box nil + :inherit mode-line) (((class color grayscale) (background dark)) :background "grey20" :foreground "grey90" - :box nil) + :box nil + :inherit mode-line) (((class mono) (background light)) :background "white" :foreground "black" :inverse-video nil :box nil - :underline t) + :underline t + :inherit mode-line) (((class mono) (background dark)) :background "black" :foreground "white" :inverse-video nil :box nil - :underline t)) + :underline t + :inherit mode-line)) "Basic header-line face." :version "21.1" :group 'basic-faces)