From f37de2174c0c0e3c4bbeac06c2e91919d023b530 Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 8 Jun 2012 22:26:16 +0300 Subject: [PATCH] * mu4e-proc: don't use process-live-p, it's emacs24 only --- emacs/mu4e-proc.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/mu4e-proc.el b/emacs/mu4e-proc.el index 30e44294..c7ce716e 100644 --- a/emacs/mu4e-proc.el +++ b/emacs/mu4e-proc.el @@ -88,7 +88,9 @@ the length (in hex).") (defun mu4e~proc-is-running () "Whether the mu process is running." - (and mu4e~proc-process (process-live-p mu4e~proc-process))) + (and mu4e~proc-process + (memq (process-status mu4e~proc-process) + '(run open listen connect stop)))) (defun mu4e~proc-eat-sexp-from-buf ()