projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7c957f
)
emacs/notmuch-show.el: Avoid passing unintended format strings to `message'
author
David Edmondson
<dme@dme.org>
Mon, 22 Mar 2010 14:50:20 +0000
(14:50 +0000)
committer
Carl Worth
<cworth@cworth.org>
Mon, 19 Apr 2010 17:15:09 +0000
(10:15 -0700)
If the text being stashed included %, `message' was unhappy and
complained.
emacs/notmuch-show.el
patch
|
blob
|
history
diff --git
a/emacs/notmuch-show.el
b/emacs/notmuch-show.el
index 81276d90f32eb2104939afd73c8f6bd5b1ed991c..31f9cfb0ed613a45cfb8fd94aeb3e4f216c1eb44 100644
(file)
--- 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."