From f920ff59b91b17959c90e3969ef20e29a94b51a0 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Mon, 22 Mar 2010 14:50:20 +0000 Subject: [PATCH] emacs/notmuch-show.el: Avoid passing unintended format strings to `message' If the text being stashed included %, `message' was unhappy and complained. --- emacs/notmuch-show.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 81276d90..31f9cfb0 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -917,8 +917,8 @@ All currently available key bindings: :group 'notmuch) (defun notmuch-show-do-stash (text) - (kill-new text) - (message (concat "Saved: " text))) + (kill-new text) + (message "Saved: %s" text)) (defun notmuch-show-stash-cc () "Copy CC field of current message to kill-ring." -- 2.26.2