mu: fix quoting/unquoting parameters

This commit is contained in:
djcb
2017-10-30 22:06:36 +02:00
parent 363075a6fd
commit ea2ffe23ae
2 changed files with 1 additions and 2 deletions

View File

@ -235,7 +235,7 @@ The server output is as follows:
existing quotation. In particular, backslashes and
double-quotes."
(let ((esc (replace-regexp-in-string "\\\\" "\\\\\\\\" str)))
(format "%s" (replace-regexp-in-string "\"" "\\\\\"" esc))))
(format "\"%s\"" (replace-regexp-in-string "\"" "\\\\\"" esc))))
(defun mu4e~proc-send-command (frm &rest args)