* mu4e: allow starting mu4e in the background
This commit is contained in:
@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user