From e2fa4f3478370e4a6b220ada6e939b0c9830b4c6 Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 4 May 2012 08:32:45 +0300 Subject: [PATCH] * mu4e-proc.el: don't copy string when unnecessary (decode-coding-string) --- emacs/mu4e-proc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/mu4e-proc.el b/emacs/mu4e-proc.el index 59931e8f..421b52a1 100644 --- a/emacs/mu4e-proc.el +++ b/emacs/mu4e-proc.el @@ -116,7 +116,8 @@ data removed." (ignore-errors ;; note: this may fail if we killed the process ;; in the middle (read-from-string - (decode-coding-string (substring mu4e~proc-buf 0 sexp-len) 'utf-8))))) + (decode-coding-string (substring mu4e~proc-buf 0 sexp-len) + 'utf-8 t))))) (when objcons (setq mu4e~proc-buf (substring mu4e~proc-buf sexp-len)) (car objcons)))))))