Move --restore handler to init.el #1893
This commit is contained in:
parent
ccb3b27654
commit
da7aef9a4c
2 changed files with 3 additions and 6 deletions
3
init.el
3
init.el
|
@ -52,6 +52,9 @@
|
|||
|
||||
;; 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)))
|
||||
|
||||
(doom-initialize)
|
||||
(doom-initialize-core)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue