email/mu4e: avoid delete-other-windows twice
- `+workspace-switch` already does this for us - see also https://github.com/hlissner/doom-emacs/pull/2123#discussion_r352371828
This commit is contained in:
parent
a7eef56b9d
commit
f6a10f1268
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,9 @@ default/fallback account."
|
|||
(require 'mu4e)
|
||||
(if (featurep :ui 'workspaces)
|
||||
(+workspace-switch +mu4e-workspace-name t)
|
||||
(setq +mu4e--old-wconf (current-window-configuration)))
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer (doom-fallback-buffer))
|
||||
(setq +mu4e--old-wconf (current-window-configuration))
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer (doom-fallback-buffer)))
|
||||
(mu4e~start 'mu4e~main-view)
|
||||
;; (save-selected-window
|
||||
;; (prolusion-mail-show))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue