mirror of https://github.com/djcb/mu.git
* mu4e: allow starting mu4e in the background
This commit is contained in:
parent
7d52ef1c3f
commit
0866b66665
|
@ -72,11 +72,12 @@
|
|||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;;###autoload
|
||||
(defun mu4e ()
|
||||
"Start mu4e."
|
||||
(interactive)
|
||||
(defun mu4e (&optional background)
|
||||
"If mu4e is not running yet, start it. Then, show the the main
|
||||
window, unless BACKGROUND (prefix-argument) is non-nil."
|
||||
(interactive "P")
|
||||
;; start mu4e, then show the main view
|
||||
(mu4e~start 'mu4e~main-view))
|
||||
(mu4e~start (unless background 'mu4e~main-view)))
|
||||
|
||||
(defun mu4e-quit()
|
||||
"Quit the mu4e session."
|
||||
|
|
Loading…
Reference in New Issue