From c0726d92a050f488abef2aba2a3963603865d575 Mon Sep 17 00:00:00 2001 From: Antoine Levitt Date: Mon, 31 Oct 2016 16:28:25 +0100 Subject: [PATCH] do not rename current message buffer if the name has not changed --- mu4e/mu4e-compose.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 31e545b9..dd39a405 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -502,7 +502,8 @@ buffers; lets remap its faces so it uses the ones for mu4e." (rename-buffer (generate-new-buffer-name (truncate-string-to-width str mu4e~compose-buffer-max-name-length - nil nil t))))) + nil nil t) + (buffer-name))))) (defun mu4e~compose-crypto-reply (parent compose-type) "When composing a reply to an encrypted message, we can