Prevent 'not in valid workspace' error on switch project
This commit is contained in:
parent
f716aa5158
commit
505ca8712d
1 changed files with 1 additions and 0 deletions
|
@ -535,6 +535,7 @@ This be hooked to `projectile-after-switch-project-hook'."
|
|||
(unwind-protect
|
||||
(if (and (not (null +workspaces-on-switch-project-behavior))
|
||||
(or (eq +workspaces-on-switch-project-behavior t)
|
||||
(equal (safe-persp-name (get-current-persp)) persp-nil-name)
|
||||
(+workspace-buffer-list)))
|
||||
(let* ((persp
|
||||
(let ((project-name (doom-project-name +workspaces--project-dir)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue