[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 47e09d1: Copy parent face attributes to tab-line-tab-current in
From: |
Juri Linkov |
Subject: |
emacs-28 47e09d1: Copy parent face attributes to tab-line-tab-current instead of inheriting face |
Date: |
Mon, 11 Oct 2021 14:28:21 -0400 (EDT) |
branch: emacs-28
commit 47e09d1855488a9fa4608ef6c6da64dff58fc871
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
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).
---
lisp/tab-line.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index 890d124..78c06bb 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 47e09d1: Copy parent face attributes to tab-line-tab-current instead of inheriting face,
Juri Linkov <=