mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Handle --restore unconditionally #1893
This commit is contained in:
4
init.el
4
init.el
@ -52,9 +52,7 @@
|
||||
|
||||
;; And let 'er rip!
|
||||
(add-hook 'window-setup-hook #'doom-display-benchmark-h)
|
||||
(when command-line-args-left
|
||||
(add-to-list 'command-switch-alist
|
||||
(cons "--restore" #'doom-restore-session-handler)))
|
||||
(add-to-list 'command-switch-alist (cons "--restore" #'doom-restore-session-handler))
|
||||
|
||||
(doom-initialize)
|
||||
(doom-initialize-core)
|
||||
|
Reference in New Issue
Block a user