* mu4e: allow starting mu4e in the background

This commit is contained in:
djcb
2013-04-16 20:37:10 +03:00
parent 7d52ef1c3f
commit 0866b66665

View File

@ -72,11 +72,12 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;###autoload ;;;###autoload
(defun mu4e () (defun mu4e (&optional background)
"Start mu4e." "If mu4e is not running yet, start it. Then, show the the main
(interactive) window, unless BACKGROUND (prefix-argument) is non-nil."
(interactive "P")
;; start mu4e, then show the main view ;; start mu4e, then show the main view
(mu4e~start 'mu4e~main-view)) (mu4e~start (unless background 'mu4e~main-view)))
(defun mu4e-quit() (defun mu4e-quit()
"Quit the mu4e session." "Quit the mu4e session."