mu4e: use mu4e~update-name de facto
Instead of hard coding the buffer name " *mu4e-update*", use the buffer name defined in `mu4e~update-name`. Also, the default name defined in `mu4e~update-name` were changed to match the previously hard-coded invisible buffer name.
This commit is contained in:
@ -762,7 +762,7 @@ Checks whether the server process is live."
|
|||||||
;;
|
;;
|
||||||
(defvar mu4e~update-timer nil
|
(defvar mu4e~update-timer nil
|
||||||
"The mu4e update timer.")
|
"The mu4e update timer.")
|
||||||
(defconst mu4e~update-name "*mu4e-update*"
|
(defconst mu4e~update-name " *mu4e-update*"
|
||||||
"Name of the process and buffer to update mail.")
|
"Name of the process and buffer to update mail.")
|
||||||
(defconst mu4e~update-buffer-height 8
|
(defconst mu4e~update-buffer-height 8
|
||||||
"Height of the mu4e message retrieval/update buffer.")
|
"Height of the mu4e message retrieval/update buffer.")
|
||||||
@ -958,7 +958,7 @@ RUN-IN-BACKGROUND is non-nil (or called with prefix-argument),
|
|||||||
run in the background; otherwise, pop up a window."
|
run in the background; otherwise, pop up a window."
|
||||||
(let* ((process-connection-type t)
|
(let* ((process-connection-type t)
|
||||||
(proc (start-process-shell-command
|
(proc (start-process-shell-command
|
||||||
"mu4e-update" " *mu4e-update*"
|
"mu4e-update" mu4e~update-name
|
||||||
mu4e-get-mail-command))
|
mu4e-get-mail-command))
|
||||||
(buf (process-buffer proc))
|
(buf (process-buffer proc))
|
||||||
(win (or run-in-background
|
(win (or run-in-background
|
||||||
|
|||||||
Reference in New Issue
Block a user