Ensure associated workspace is deleted on server-done too
Should catch more corner cases where workspaces are surviving their emacsclient-spawned frames.
This commit is contained in:
parent
d9dac055a6
commit
fa29a3cf1d
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ stored in `persp-save-dir'.")
|
|||
persp-interactive-init-frame-behaviour-override #'+workspaces-associate-frame-fn
|
||||
persp-emacsclient-init-frame-behaviour-override #'+workspaces-associate-frame-fn)
|
||||
(add-hook 'delete-frame-functions #'+workspaces-delete-associated-workspace-h)
|
||||
(add-hook 'server-done-hook #'+workspaces-delete-associated-workspace-h)
|
||||
|
||||
;; per-project workspaces, but reuse current workspace if empty
|
||||
(setq projectile-switch-project-action #'+workspaces-set-project-action-fn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue