diff options
| author | Miles Bader | 2002-07-03 07:09:44 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-07-03 07:09:44 +0000 |
| commit | a7ac92b6ec595d6fdd8c91a493cc807149dc8b1e (patch) | |
| tree | 8eff320360af63e7ce9db06d6112da7798962c28 | |
| parent | 50e7b8db94e2a9a1afffbd3a571c7da5a8304baa (diff) | |
| download | emacs-a7ac92b6ec595d6fdd8c91a493cc807149dc8b1e.tar.gz emacs-a7ac92b6ec595d6fdd8c91a493cc807149dc8b1e.zip | |
(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.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/faces.el | 19 |
2 files changed, 16 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 48bd1d60ce9..c333a967f69 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-07-03 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * faces.el (header-line): Don't use a `common' clause for | ||
| 4 | inheriting from the mode-line face, since we can't override it, | ||
| 5 | and we don't want it for ttys. | ||
| 6 | |||
| 1 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | 7 | 2002-07-02 Richard M. Stallman <rms@gnu.org> |
| 2 | 8 | ||
| 3 | * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop. | 9 | * net/ange-ftp.el (ange-ftp-hook-function): Add file-remote-p prop. |
diff --git a/lisp/faces.el b/lisp/faces.el index 2ee70a336d7..3dfc24931ad 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1808,9 +1808,7 @@ created." | |||
| 1808 | (put 'modeline-inactive 'face-alias 'mode-line-inactive) | 1808 | (put 'modeline-inactive 'face-alias 'mode-line-inactive) |
| 1809 | 1809 | ||
| 1810 | (defface header-line | 1810 | (defface header-line |
| 1811 | '((t | 1811 | '((((type tty)) |
| 1812 | :inherit mode-line) | ||
| 1813 | (((type tty)) | ||
| 1814 | ;; This used to be `:inverse-video t', but that doesn't look very | 1812 | ;; This used to be `:inverse-video t', but that doesn't look very |
| 1815 | ;; good when combined with inverse-video mode-lines and multiple | 1813 | ;; good when combined with inverse-video mode-lines and multiple |
| 1816 | ;; windows. Underlining looks better, and is more consistent with | 1814 | ;; windows. Underlining looks better, and is more consistent with |
| @@ -1820,24 +1818,27 @@ created." | |||
| 1820 | ;; highlighting; this may be too confusing in general, although it | 1818 | ;; highlighting; this may be too confusing in general, although it |
| 1821 | ;; happens to look good with the only current use of header-lines, | 1819 | ;; happens to look good with the only current use of header-lines, |
| 1822 | ;; the info browser. XXX | 1820 | ;; the info browser. XXX |
| 1823 | :underline t | 1821 | :underline t) |
| 1824 | :inverse-video nil) | ||
| 1825 | (((class color grayscale) (background light)) | 1822 | (((class color grayscale) (background light)) |
| 1826 | :background "grey90" :foreground "grey20" | 1823 | :background "grey90" :foreground "grey20" |
| 1827 | :box nil) | 1824 | :box nil |
| 1825 | :inherit mode-line) | ||
| 1828 | (((class color grayscale) (background dark)) | 1826 | (((class color grayscale) (background dark)) |
| 1829 | :background "grey20" :foreground "grey90" | 1827 | :background "grey20" :foreground "grey90" |
| 1830 | :box nil) | 1828 | :box nil |
| 1829 | :inherit mode-line) | ||
| 1831 | (((class mono) (background light)) | 1830 | (((class mono) (background light)) |
| 1832 | :background "white" :foreground "black" | 1831 | :background "white" :foreground "black" |
| 1833 | :inverse-video nil | 1832 | :inverse-video nil |
| 1834 | :box nil | 1833 | :box nil |
| 1835 | :underline t) | 1834 | :underline t |
| 1835 | :inherit mode-line) | ||
| 1836 | (((class mono) (background dark)) | 1836 | (((class mono) (background dark)) |
| 1837 | :background "black" :foreground "white" | 1837 | :background "black" :foreground "white" |
| 1838 | :inverse-video nil | 1838 | :inverse-video nil |
| 1839 | :box nil | 1839 | :box nil |
| 1840 | :underline t)) | 1840 | :underline t |
| 1841 | :inherit mode-line)) | ||
| 1841 | "Basic header-line face." | 1842 | "Basic header-line face." |
| 1842 | :version "21.1" | 1843 | :version "21.1" |
| 1843 | :group 'basic-faces) | 1844 | :group 'basic-faces) |