diff --git a/ui.el b/ui.el index b4cf5f3..94098d6 100644 --- a/ui.el +++ b/ui.el @@ -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 diff --git a/userland/projects.el b/userland/projects.el index 315feb6..f2a4d52 100644 --- a/userland/projects.el +++ b/userland/projects.el @@ -49,7 +49,7 @@ (whaler :action (lambda (dir) (find-file (get-project-default-file dir)) (tab-rename (file-name-nondirectory (string-remove-suffix "/" dir))) - (tab-bar-change-tab-group (concat "project: " dir)) + (tab-bar-change-tab-group (concat "project: " dir)) ;; We use the tab group name to store the project working directory (neotree-dir dir)))) (defun theurgy-swap-to-tab-project ()