summaryrefslogtreecommitdiff
path: root/helm-eval.el
diff options
context:
space:
mode:
authorMichael Heerdegen <michael_heerdegen@web.de>2015-08-10 02:42:32 +0200
committerMichael Heerdegen <michael_heerdegen@web.de>2015-08-10 02:42:32 +0200
commite72e0b79d594883b491669997567216494eb5f30 (patch)
treecd90d79d19b07476340dad34804dfe18694e4bca /helm-eval.el
parent31c520bffebadfe07ab55be562f712ed68922a6b (diff)
make calculation message include result (#1110)
Diffstat (limited to 'helm-eval.el')
-rw-r--r--helm-eval.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-eval.el b/helm-eval.el
index f3bb7a1b..6f30435a 100644
--- a/helm-eval.el
+++ b/helm-eval.el
@@ -153,7 +153,8 @@ Should take one arg: the string to display."
:nohighlight t
:action '(("Copy result to kill-ring" . (lambda (candidate)
(kill-new candidate)
- (message "Result copied to kill-ring")))
+ (message "Result \"%s\" copied to kill-ring"
+ candidate)))
("Copy operation to kill-ring" . (lambda (_candidate)
(kill-new helm-input)
(message "Calculation copied to kill-ring"))))))