Make email command a bit spiffier.

This commit is contained in:
Ivan Malison 2015-02-03 11:37:42 -08:00
parent 19c6825c8d
commit 0d7067b72e

View File

@ -883,11 +883,11 @@ the same tree node, and the headline of the tree node in the Org-mode file."
:bind ("C-c 0" . email) :bind ("C-c 0" . email)
:config :config
(progn (progn
(defun email () (defun email (&optional arg)
(interactive) (interactive "P")
(persp-switch "email") (persp-switch "email")
(unless (mu4e-running-p) (when (or (not (mu4e-running-p)) arg)
(mu4e))) (delete-other-windows) (mu4e)))
;; enable inline images ;; enable inline images
(setq mu4e-view-show-images t) (setq mu4e-view-show-images t)
;; show images ;; show images