Don't open doom-fallback-buffer
on del workspace
The `current-buffer` wasn't being updated after switching workspaces and was therefore failing the `doom-buffer-frame-predicate` check.
This commit is contained in:
parent
ab616cfb95
commit
46a5be1e52
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ workspace to delete."
|
|||
(if (+workspace-exists-p +workspace--last)
|
||||
+workspace--last
|
||||
(car (+workspace-list-names))))
|
||||
(unless (doom-buffer-frame-predicate (current-buffer))
|
||||
(unless (doom-buffer-frame-predicate (window-buffer))
|
||||
(switch-to-buffer (doom-fallback-buffer))))
|
||||
(t
|
||||
(+workspace-switch +workspaces-main t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue