mirror of https://github.com/djcb/mu.git
mu4e: fix byte-compiler warnings
This commit is contained in:
parent
e9ce45fde9
commit
dd5d5e6bbf
|
@ -350,11 +350,12 @@ address is set, use that, otherwise use the From address. Note,
|
||||||
whatever was in the To: field before, goes to the Cc:-list (if
|
whatever was in the To: field before, goes to the Cc:-list (if
|
||||||
we're doing a reply-to-all). Special case: if we were the sender
|
we're doing a reply-to-all). Special case: if we were the sender
|
||||||
of the original, we simple copy the list form the original."
|
of the original, we simple copy the list form the original."
|
||||||
(let ((reply-to
|
(let* ((reply-to
|
||||||
(append
|
(append
|
||||||
(plist-get origmsg :to)
|
(plist-get origmsg :to)
|
||||||
(or (plist-get origmsg :reply-to) (plist-get origmsg :from)))))
|
(or (plist-get origmsg :reply-to) (plist-get origmsg :from))))
|
||||||
(cl-delete-duplicates reply-to :test #'mu4e~draft-address-cell-equal)
|
(reply-to (cl-delete-duplicates reply-to
|
||||||
|
:test #'mu4e~draft-address-cell-equal)))
|
||||||
(if mu4e-compose-dont-reply-to-self
|
(if mu4e-compose-dont-reply-to-self
|
||||||
(cl-delete-if
|
(cl-delete-if
|
||||||
(lambda (to-cell)
|
(lambda (to-cell)
|
||||||
|
|
|
@ -222,7 +222,7 @@ Checks whether the server process is live."
|
||||||
'(run open listen connect stop)) t))
|
'(run open listen connect stop)) t))
|
||||||
|
|
||||||
(defsubst mu4e--server-eat-sexp-from-buf ()
|
(defsubst mu4e--server-eat-sexp-from-buf ()
|
||||||
"'Eat' the next s-expression from `mu4e--server-buf'.
|
"Eat the next s-expression from `mu4e--server-buf'.
|
||||||
Note: this is a string, not an emacs-buffer. `mu4e--server-buf gets
|
Note: this is a string, not an emacs-buffer. `mu4e--server-buf gets
|
||||||
its contents from the mu-servers in the following form:
|
its contents from the mu-servers in the following form:
|
||||||
<`mu4e--server-cookie-pre'><length-in-hex><`mu4e--server-cookie-post'>
|
<`mu4e--server-cookie-pre'><length-in-hex><`mu4e--server-cookie-post'>
|
||||||
|
|
Loading…
Reference in New Issue