Skip to content

Commit

Permalink
fix: ensure desktop-save-mode is enabled for emacs server
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Oct 12, 2024
1 parent 1e7b815 commit 4941837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init.org
Original file line number Diff line number Diff line change
Expand Up @@ -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\\'\\)")
Expand Down

0 comments on commit 4941837

Please sign in to comment.