simplify mu4e~docid-msgid-param
It was using an ununed `format', which caused trouble when the msgid contained format characters.
This commit is contained in:
@ -310,13 +310,11 @@ Start the process if needed."
|
|||||||
(t
|
(t
|
||||||
(error "Something bad happened to the mu server process")))))
|
(error "Something bad happened to the mu server process")))))
|
||||||
|
|
||||||
(defsubst mu4e~docid-msgid-param (docid-or-msgid)
|
(defun mu4e~docid-msgid-param (docid-or-msgid)
|
||||||
"Construct a backend parameter based on DOCID-OR-MSGID."
|
"Construct a backend parameter based on DOCID-OR-MSGID."
|
||||||
(format
|
|
||||||
(if (stringp docid-or-msgid)
|
(if (stringp docid-or-msgid)
|
||||||
(concat "msgid:"(mu4e~escape (format "%s" docid-or-msgid)))
|
(concat "msgid:" (mu4e~escape docid-or-msgid))
|
||||||
"docid:%d")
|
(format "docid:%d" docid-or-msgid)))
|
||||||
docid-or-msgid))
|
|
||||||
|
|
||||||
(defun mu4e~proc-find (query threads sortfield sortdir maxnum skip-dups
|
(defun mu4e~proc-find (query threads sortfield sortdir maxnum skip-dups
|
||||||
include-related)
|
include-related)
|
||||||
|
|||||||
Reference in New Issue
Block a user