From 49418374966429addf3e7093e4879350f897584f Mon Sep 17 00:00:00 2001 From: Terje Larsen Date: Sat, 12 Oct 2024 09:12:59 +0200 Subject: [PATCH] fix: ensure desktop-save-mode is enabled for emacs server --- init.org | 1 + 1 file changed, 1 insertion(+) diff --git a/init.org b/init.org index b7c71d3..f219760 100644 --- a/init.org +++ b/init.org @@ -3775,6 +3775,7 @@ it really useful. (use-package desktop :hook (server-after-make-frame-hook . desktop-read) + (server-after-make-frame-hook . desktop-save-mode) :init (setq desktop-save t) (setq desktop-files-not-to-save "\\(\\`/[^/:]*:\\|(ftp)\\|\\.gz\\'\\)")