Disable persp auto-save in noninteractive session
This commit is contained in:
parent
fbc93783fe
commit
96ca709b23
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ renamed.")
|
||||||
;; Don't auto-load on startup
|
;; Don't auto-load on startup
|
||||||
persp-auto-resume-time -1
|
persp-auto-resume-time -1
|
||||||
;; auto-save on kill
|
;; 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 'doom-init-hook #'+workspaces|init)
|
||||||
(add-hook 'after-make-frame-functions #'+workspaces|init)
|
(add-hook 'after-make-frame-functions #'+workspaces|init)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue