emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tab-line-alternate-colors


From: Eli Zaretskii
Subject: Re: [PATCH] tab-line-alternate-colors
Date: Sun, 13 Dec 2020 17:21:50 +0200

> From: Adam Porter <adam@alphapapa.net>
> Date: Sun, 13 Dec 2020 04:06:36 -0600
> 
> +(defface tab-line-tab-inactive-alternate
> +  (let ((mode-line-bg (face-background 'mode-line nil t)))
> +    `((t (:inherit tab-line-tab-inactive :background ,mode-line-bg))))

Is this supposed to change the background when that of the mode line
changes, or is it supposed to keep the original one, recorded when
this defface is processed?

More generally, why use such an unusual definition of a face?

> +(defface tab-line-tab-special '((t (:slant italic)))

What will this do on terminals that don''t support italic?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]