mirror of https://github.com/djcb/mu.git
parent
e71640fdfa
commit
17ea8bd613
|
@ -65,10 +65,11 @@ is non-nil."
|
||||||
(progn
|
(progn
|
||||||
(mu4e--init-handlers)
|
(mu4e--init-handlers)
|
||||||
(mu4e--start (unless background #'mu4e--main-view)))
|
(mu4e--start (unless background #'mu4e--main-view)))
|
||||||
;; mu4e already running
|
;; mu4e already running; show unless BACKGROUND
|
||||||
(when (and (not background)
|
(unless background
|
||||||
(buffer-live-p (get-buffer mu4e-main-buffer-name)))
|
(if (buffer-live-p (get-buffer mu4e-main-buffer-name))
|
||||||
(switch-to-buffer mu4e-main-buffer-name))))
|
(switch-to-buffer mu4e-main-buffer-name)
|
||||||
|
(mu4e--main-view)))))
|
||||||
|
|
||||||
(defun mu4e-quit(&optional bury)
|
(defun mu4e-quit(&optional bury)
|
||||||
"Quit the mu4e session or bury the buffer.
|
"Quit the mu4e session or bury the buffer.
|
||||||
|
|
Loading…
Reference in New Issue