Fix #5255: reload session after dashboard init
Otherwise, the dashboard replaces one of the buffers when reloading the last session at startup.
This commit is contained in:
parent
9ffa5d6c2f
commit
5c741cb65f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
|||
;;;###autoload
|
||||
(defun doom-restore-session-handler (&rest _)
|
||||
"TODO"
|
||||
(add-hook 'window-setup-hook #'doom-load-session 'append))
|
||||
(add-hook 'window-setup-hook #'doom-load-session 100))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'command-switch-alist (cons "--restore" #'doom-restore-session-handler))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue