From: Juri Linkov Date: Mon, 11 Oct 2021 18:27:50 +0000 (+0300) Subject: Copy parent face attributes to tab-line-tab-current instead of inheriting face X-Git-Tag: emacs-28.0.90~315 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=47e09d1855488a9fa4608ef6c6da64dff58fc871;p=emacs.git 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). --- diff --git a/lisp/tab-line.el b/lisp/tab-line.el index 890d1243e73..78c06bbb64d 100644 --- a/lisp/tab-line.el +++ b/lisp/tab-line.el @@ -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)