* mu4e: mu4e-proc: capture sexp evaluation in (ignore-errors ...)

This commit is contained in:
djcb
2012-09-28 17:11:58 +03:00
parent 7a82bb562d
commit e11e83e2a4

View File

@ -106,6 +106,7 @@ mu-servers in the following form:
Function returns this sexp, or nil if there was
none. `mu4e~proc-buf' is updated as well, with all processed sexp
data removed."
(ignore-errors ;; the server may die in the middle...
;; mu4e~cookie-matcher-rx:
;; (concat mu4e~cookie-pre "\\([[:xdigit:]]+\\)]" mu4e~cookie-post)
(let ((b (string-match mu4e~cookie-matcher-rx mu4e~proc-buf))
@ -125,7 +126,7 @@ data removed."
'utf-8 t)))
(when objcons
(setq mu4e~proc-buf (substring mu4e~proc-buf sexp-len))
(car objcons))))))
(car objcons)))))))
(defsubst mu4e~proc-filter (proc str)