1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-01 02:31:23 -07:00

Merge from origin/emacs-28

47e09d1855 Copy parent face attributes to tab-line-tab-current instea...
d96f8b22c0 Another fix for 'ibuffer-shrink-to-fit' (Bug#7218, Bug#51029)
This commit is contained in:
Glenn Morris 2021-10-12 07:50:19 -07:00
commit 655c8c29d4
2 changed files with 7 additions and 3 deletions

View file

@ -1079,8 +1079,8 @@ a new window in the current frame, splitting vertically."
;; Make sure that redisplay is performed, otherwise there can be a
;; bad interaction with code in the window-scroll-functions hook
(redisplay t)
(when (and (boundp 'ibuffer-auto-mode) ; ibuf-ext.el might not be loaded yet
(buffer-local-value 'ibuffer-auto-mode (window-buffer)))
(when (with-current-buffer (window-buffer)
(eq major-mode 'ibuffer-mode))
(fit-window-to-buffer
nil (and owin
(/ (frame-height)

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)