mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user