Mu4e: Include workspace switch in if true case
This commit is contained in:
parent
c59a1ff498
commit
522c1ca33b
1 changed files with 4 additions and 3 deletions
|
@ -58,9 +58,10 @@ default/fallback account."
|
||||||
;; delete current workspace if empty
|
;; delete current workspace if empty
|
||||||
;; this is useful when mu4e is in the daemon
|
;; this is useful when mu4e is in the daemon
|
||||||
;; as otherwise you can accumulate empty workspaces
|
;; as otherwise you can accumulate empty workspaces
|
||||||
|
(progn
|
||||||
(unless (+workspace-buffer-list)
|
(unless (+workspace-buffer-list)
|
||||||
(+workspace-delete (+workspace-current-name)))
|
(+workspace-delete (+workspace-current-name)))
|
||||||
(+workspace-switch +mu4e-workspace-name t)
|
(+workspace-switch +mu4e-workspace-name t))
|
||||||
(setq +mu4e--old-wconf (current-window-configuration))
|
(setq +mu4e--old-wconf (current-window-configuration))
|
||||||
(delete-other-windows)
|
(delete-other-windows)
|
||||||
(switch-to-buffer (doom-fallback-buffer)))
|
(switch-to-buffer (doom-fallback-buffer)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue