Fix #5195: workspace is killed on magit commit
Due to magit now using server-done instead of server-edit as of magit/magit@5c02910, which calls server-done-hook, which the workspaces module has a hook on to kill auto-generated, daemon-spawned frames, causing workspaces to be prematurely killed when commiting in magit.
This commit is contained in:
parent
13958c81a6
commit
3aeb0c060f
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ the next."
|
|||
"Delete workspace associated with current frame.
|
||||
A workspace gets associated with a frame when a new frame is interactively
|
||||
created."
|
||||
(when persp-mode
|
||||
(when (and persp-mode (not (bound-and-true-p with-editor-mode)))
|
||||
(unless frame
|
||||
(setq frame (selected-frame)))
|
||||
(let ((frame-persp (frame-parameter frame 'workspace)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue