mu4e: allow longer queries

Tell base64-encode-string not to include newlines.
This commit is contained in:
djcb 2017-10-28 20:33:41 +03:00
parent 4ee8c5e1d6
commit af4f12c696
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ or an error."
(concat
"cmd:find query:%s threads:%s sortfield:%s reverse:%s maxnum:%d "
"skip-dups:%s include-related:%s")
(base64-encode-string query)
(base64-encode-string query t)
(if threads "true" "false")
;; sortfield is e.g. ':subject'; this removes the ':'
(if (null sortfield) "nil" (substring (symbol-name sortfield) 1))