emacs/notmuch-show.el: Avoid passing unintended format strings to `message'

If the text being stashed included %, `message' was unhappy and
complained.
This commit is contained in:
David Edmondson 2010-03-22 14:50:20 +00:00 committed by Carl Worth
parent f7c957f4de
commit f920ff59b9

View file

@ -917,8 +917,8 @@ All currently available key bindings:
:group 'notmuch) :group 'notmuch)
(defun notmuch-show-do-stash (text) (defun notmuch-show-do-stash (text)
(kill-new text) (kill-new text)
(message (concat "Saved: " text))) (message "Saved: %s" text))
(defun notmuch-show-stash-cc () (defun notmuch-show-stash-cc ()
"Copy CC field of current message to kill-ring." "Copy CC field of current message to kill-ring."