mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-15 14:51:01 -08:00
tweak: default values for tab-*-tab-choice vars
This commit is contained in:
parent
a307383ecb
commit
5388480894
2 changed files with 7 additions and 1 deletions
|
|
@ -223,6 +223,13 @@ the frame through some other means.")
|
|||
;;
|
||||
;;; Buffers
|
||||
|
||||
;; Open to the fallback buffer on new tabs, but don't set
|
||||
;; `initial-buffer-choice' here because that has startup performance
|
||||
;; implications. Leave that to :ui doom-dashboard.
|
||||
(setq tab-line-new-tab-choice #'doom-fallback-buffer
|
||||
tab-bar-new-tab-choice #'doom-fallback-buffer
|
||||
tab-bar-close-last-tab-choice (lambda (_) (doom/kill-all-buffers)))
|
||||
|
||||
(defadvice! doom--switch-to-fallback-buffer-maybe-a (&rest _)
|
||||
"Switch to `doom-fallback-buffer' if on last real buffer.
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,6 @@ PLIST can have the following properties:
|
|||
;; Ensure the dashboard becomes Emacs' go-to buffer when there's nothing
|
||||
;; else to show.
|
||||
(setq doom-fallback-buffer-name +doom-dashboard-name
|
||||
tab-bar-new-tab-choice #'doom-fallback-buffer
|
||||
initial-buffer-choice #'doom-fallback-buffer)
|
||||
(unless fancy-splash-image
|
||||
(setq fancy-splash-image
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue