This commit is contained in:
BirDt_ 2025-08-20 22:22:49 +08:00
parent e2cdbb2959
commit df29b3c7c8
2 changed files with 2 additions and 2 deletions

2
ui.el
View file

@ -99,7 +99,7 @@
(setq tab-bar-new-tab-choice "*enlight*");; buffer to show in new tabs
(setq tab-bar-tab-hints t) ;; show tab numbers
(setq tab-bar-format '(tab-bar-format-tabs tab-bar-separator)) ;; elements to include in bar
(defvar tab-bar-select-tab-hook nil "Hook for `tab-bar-select-tab'")
(defvar tab-bar-select-tab-hook nil "Hook for `tab-bar-select-tab'") ;; Hook for tab change, since it doesn't exist by default
(advice-add 'tab-bar-select-tab :after (lambda (x) (run-hooks 'tab-bar-select-tab-hook))))
;; Hideshow