1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

Copy parent face attributes to tab-line-tab-current instead of inheriting face

* lisp/tab-line.el (tab-line-tab-current): Don't inherit face from
'tab-line-tab' to not inherit the face attribute :height from 'tab-line',
because :height of mouse-face is added to the base face.
Copy here most of the parent face attributes (bug#50798).
This commit is contained in:
Juri Linkov 2021-10-11 21:27:50 +03:00
parent d96f8b22c0
commit 47e09d1855

View File

@ -119,7 +119,11 @@ function `tab-line-tab-face-group'."
:group 'tab-line-faces)
(defface tab-line-highlight
'((t :inherit tab-line-tab))
'((((class color) (min-colors 88))
:box (:line-width 1 :style released-button)
:background "grey85"
:foreground "black")
(t :inverse-video nil))
"Tab line face for highlighting."
:version "27.1"
:group 'tab-line-faces)