aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2021-10-11 21:27:50 +0300
committerJuri Linkov2021-10-11 21:27:50 +0300
commit47e09d1855488a9fa4608ef6c6da64dff58fc871 (patch)
tree07fd86d56c91cb15395cedd64a8f677a32901336
parentd96f8b22c01b330d773cf46eb4c21acbe153633e (diff)
downloademacs-47e09d1855488a9fa4608ef6c6da64dff58fc871.tar.gz
emacs-47e09d1855488a9fa4608ef6c6da64dff58fc871.zip
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).
-rw-r--r--lisp/tab-line.el6
1 files changed, 5 insertions, 1 deletions
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'."
119 :group 'tab-line-faces) 119 :group 'tab-line-faces)
120 120
121(defface tab-line-highlight 121(defface tab-line-highlight
122 '((t :inherit tab-line-tab)) 122 '((((class color) (min-colors 88))
123 :box (:line-width 1 :style released-button)
124 :background "grey85"
125 :foreground "black")
126 (t :inverse-video nil))
123 "Tab line face for highlighting." 127 "Tab line face for highlighting."
124 :version "27.1" 128 :version "27.1"
125 :group 'tab-line-faces) 129 :group 'tab-line-faces)