mirror of https://github.com/djcb/mu.git
start mu4e through shell
This commit is contained in:
parent
e4ac3f205d
commit
15d4f23e34
|
@ -441,9 +441,11 @@ You cannot run the repl when mu4e is running (or vice-versa)."
|
|||
(setq mu4e--server-buf "")
|
||||
(mu4e-log 'misc "* invoking '%s' with parameters %s" mu4e-mu-binary
|
||||
(mapconcat (lambda (arg) (format "'%s'" arg)) args " "))
|
||||
(setq mu4e--server-process (apply 'start-process
|
||||
mu4e--server-name mu4e--server-name
|
||||
mu4e-mu-binary args))
|
||||
(setq mu4e--server-process ;; (apply 'start-process
|
||||
;; mu4e--server-name mu4e--server-name
|
||||
;; mu4e-mu-binary args)
|
||||
(start-process-shell-command mu4e--server-name mu4e--server-name (concat mu4e-mu-binary " " (mapconcat 'identity args " ")))
|
||||
)
|
||||
;; register a function for (:info ...) sexps
|
||||
(unless mu4e--server-process
|
||||
(mu4e-error "Failed to start the mu4e backend"))
|
||||
|
|
Loading…
Reference in New Issue