summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorDavid Edmondson <dme@dme.org>2010-03-22 14:50:20 +0000
committerCarl Worth <cworth@cworth.org>2010-04-19 10:15:09 -0700
commitf920ff59b91b17959c90e3969ef20e29a94b51a0 (patch)
treeb79a62a707fedaaf335c72718c7111adf6332bab /emacs
parentf7c957f4deb4c49bbff6e0a83a59fb7631714939 (diff)
emacs/notmuch-show.el: Avoid passing unintended format strings to `message'
If the text being stashed included %, `message' was unhappy and complained.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/notmuch-show.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 81276d9..31f9cfb 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."