diff options
| author | Juri Linkov | 2020-02-05 01:27:30 +0200 |
|---|---|---|
| committer | Juri Linkov | 2020-02-05 01:27:30 +0200 |
| commit | ef5fba9f40c8d3bdb314af2e00a51398d112d357 (patch) | |
| tree | 59be76c18ef2ecba275f5d18eb3e81a1a46c3209 | |
| parent | 831508422e26e6d88dd5d8960e2569c489604c85 (diff) | |
| download | emacs-ef5fba9f40c8d3bdb314af2e00a51398d112d357.tar.gz emacs-ef5fba9f40c8d3bdb314af2e00a51398d112d357.zip | |
Fix faces tab-bar and tab-line.
* lisp/tab-bar.el (tab-bar) <defface>:
* lisp/tab-line.el (tab-line) <defface>:
Check for min-colors 88 instead of type x.
| -rw-r--r-- | lisp/tab-bar.el | 4 | ||||
| -rw-r--r-- | lisp/tab-line.el | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index ebb0c566ad1..fac27f41ba9 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el | |||
| @@ -51,11 +51,11 @@ | |||
| 51 | :version "27.1") | 51 | :version "27.1") |
| 52 | 52 | ||
| 53 | (defface tab-bar | 53 | (defface tab-bar |
| 54 | '((((type x w32 ns) (class color)) | 54 | '((((class color) (min-colors 88)) |
| 55 | :inherit variable-pitch | 55 | :inherit variable-pitch |
| 56 | :background "grey85" | 56 | :background "grey85" |
| 57 | :foreground "black") | 57 | :foreground "black") |
| 58 | (((type x) (class mono)) | 58 | (((class mono)) |
| 59 | :background "grey") | 59 | :background "grey") |
| 60 | (t | 60 | (t |
| 61 | :inverse-video t)) | 61 | :inverse-video t)) |
diff --git a/lisp/tab-line.el b/lisp/tab-line.el index 149fe8289c4..8f1221abe41 100644 --- a/lisp/tab-line.el +++ b/lisp/tab-line.el | |||
| @@ -42,12 +42,12 @@ | |||
| 42 | :version "27.1") | 42 | :version "27.1") |
| 43 | 43 | ||
| 44 | (defface tab-line | 44 | (defface tab-line |
| 45 | '((((type x w32 ns) (class color)) | 45 | '((((class color) (min-colors 88)) |
| 46 | :inherit variable-pitch | 46 | :inherit variable-pitch |
| 47 | :height 0.9 | 47 | :height 0.9 |
| 48 | :background "grey85" | 48 | :background "grey85" |
| 49 | :foreground "black") | 49 | :foreground "black") |
| 50 | (((type x) (class mono)) | 50 | (((class mono)) |
| 51 | :background "grey") | 51 | :background "grey") |
| 52 | (t | 52 | (t |
| 53 | :inverse-video t)) | 53 | :inverse-video t)) |