summaryrefslogtreecommitdiff
path: root/mu4e/mu4e-proc.el
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-08-28 22:29:03 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-08-29 20:30:29 +0300
commit411b95acd7c7b310be101b756c9727b021d36ce8 (patch)
tree017984c027d9373eb7141d31d3d22b96bee3aff4 /mu4e/mu4e-proc.el
parent3cd127d8ae9214f20375ecdca6c2622b033f3eb8 (diff)
vars: refactor variables
Remove some variables from mu4e-vars, and move them to where they are used. Move some more items to mu4e-helpers.
Diffstat (limited to 'mu4e/mu4e-proc.el')
-rw-r--r--mu4e/mu4e-proc.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/mu4e/mu4e-proc.el b/mu4e/mu4e-proc.el
index b722410..97acb5a 100644
--- a/mu4e/mu4e-proc.el
+++ b/mu4e/mu4e-proc.el
@@ -24,7 +24,7 @@
;;; Code:
-(require 'mu4e-vars)
+(require 'mu4e-helpers)
(require 'mu4e-utils)
(require 'mu4e-meta)
@@ -177,6 +177,7 @@ The server output is as follows:
;; received a pong message
((plist-get sexp :pong)
+ (setq mu4e--server-props (plist-get sexp :props))
(funcall mu4e-pong-func sexp))
;; received a contacts message
@@ -243,7 +244,8 @@ backslashes and double-quotes."
"Cannot find mu, please set `mu4e-mu-binary' to the mu executable path"))
;; sanity-check 2
- (let ((version (let ((s (shell-command-to-string (concat mu4e-mu-binary " --version"))))
+ (let ((version (let ((s (shell-command-to-string
+ (concat mu4e-mu-binary " --version"))))
(and (string-match "version \\([.0-9]+\\)" s)
(match-string 1 s)))))
(unless (string= version mu4e-mu-version)