Use featurep! in mu4e/autoload/email.el
featurep works a bit different from featurep!, which is required in this case.
This commit is contained in:
parent
385ff35ad8
commit
4ca20438fb
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ default/fallback account."
|
||||||
"Start email client."
|
"Start email client."
|
||||||
(interactive)
|
(interactive)
|
||||||
(require 'mu4e)
|
(require 'mu4e)
|
||||||
(if (featurep :ui 'workspaces)
|
(if (featurep! :ui workspaces)
|
||||||
(+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)
|
||||||
|
@ -80,7 +80,7 @@ default/fallback account."
|
||||||
(defun +mu4e-kill-mu4e-h ()
|
(defun +mu4e-kill-mu4e-h ()
|
||||||
;; (prolusion-mail-hide)
|
;; (prolusion-mail-hide)
|
||||||
(cond
|
(cond
|
||||||
((and (featurep :ui 'workspaces) (+workspace-exists-p +mu4e-workspace-name))
|
((and (featurep! :ui workspaces) (+workspace-exists-p +mu4e-workspace-name))
|
||||||
(+workspace/delete +mu4e-workspace-name))
|
(+workspace/delete +mu4e-workspace-name))
|
||||||
|
|
||||||
(+mu4e--old-wconf
|
(+mu4e--old-wconf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue