From ea936d90c8e87d6d2a0656fdd72032c3bfc8eddb Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 14 Oct 2019 03:00:37 -0400 Subject: [PATCH] Handle --restore unconditionally #1893 --- init.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/init.el b/init.el index ffdaa3920..80e73ced1 100644 --- a/init.el +++ b/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)