Merge pull request #2170 from alexandergraul/mu4e-workspace-fix

email/mu4e: featurep -> featurep!
This commit is contained in:
Henrik Lissner 2019-12-08 20:15:19 -05:00 committed by GitHub
commit 30c7f5dfd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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