From: David Edmondson Date: Mon, 22 Mar 2010 14:50:20 +0000 (+0000) Subject: emacs/notmuch-show.el: Avoid passing unintended format strings to `message' X-Git-Tag: 0.3~149 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=f920ff59b91b17959c90e3969ef20e29a94b51a0 emacs/notmuch-show.el: Avoid passing unintended format strings to `message' If the text being stashed included %, `message' was unhappy and complained. --- 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."