diff --git a/modules/ui/tabs/config.el b/modules/ui/tabs/config.el index 867f3e162..ecf8b8daf 100644 --- a/modules/ui/tabs/config.el +++ b/modules/ui/tabs/config.el @@ -28,9 +28,7 @@ (when (buffer-live-p b) (or (eq (current-buffer) b) (not (doom-temp-buffer-p b))))) - (if (bound-and-true-p persp-mode) - (persp-buffer-list) - (buffer-list)))) + (doom-buffer-list))) (setq centaur-tabs-buffer-list-function #'+tabs-buffer-list) (add-hook! '(+doom-dashboard-mode-hook +popup-buffer-mode-hook)