From 039cacf3dd8ccb7572417d9f07045783d6169656 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 27 Aug 2023 07:44:27 +0200 Subject: [PATCH] Restore previous session on startup --- config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.el b/config.el index d7db6f9..f518388 100644 --- a/config.el +++ b/config.el @@ -161,3 +161,5 @@ (global-centered-cursor-mode)) ;; Enable smooth scrolling (pixel-scroll-precision-mode) +;; Restore previous session on startup +(add-hook 'window-setup-hook #'doom/quickload-session)