mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Disable persp auto-save in noninteractive session
This commit is contained in:
@ -41,7 +41,7 @@ renamed.")
|
||||
;; Don't auto-load on startup
|
||||
persp-auto-resume-time -1
|
||||
;; auto-save on kill
|
||||
persp-auto-save-opt 1)
|
||||
persp-auto-save-opt (if noninteractive 0 1))
|
||||
|
||||
(add-hook 'doom-init-hook #'+workspaces|init)
|
||||
(add-hook 'after-make-frame-functions #'+workspaces|init)
|
||||
|
Reference in New Issue
Block a user