mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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))
|
||||
|
Reference in New Issue
Block a user