mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Mu4e: Include workspace switch in if true case
This commit is contained in:
@ -58,9 +58,10 @@ default/fallback account."
|
||||
;; delete current workspace if empty
|
||||
;; this is useful when mu4e is in the daemon
|
||||
;; as otherwise you can accumulate empty workspaces
|
||||
(progn
|
||||
(unless (+workspace-buffer-list)
|
||||
(+workspace-delete (+workspace-current-name)))
|
||||
(+workspace-switch +mu4e-workspace-name t)
|
||||
(+workspace-switch +mu4e-workspace-name t))
|
||||
(setq +mu4e--old-wconf (current-window-configuration))
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
|
Reference in New Issue
Block a user