summaryrefslogtreecommitdiff
path: root/helm-ring.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-12-11 07:19:13 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-12-11 07:19:13 +0100
commit10d2def16ec73c2358e532383e84670bce979da7 (patch)
treebd83665b8cb9369bc248d9a184f3a4e7a6d828bd /helm-ring.el
parentf1519ad9d7a13cf00854a6096413ccfe7472dda0 (diff)
Add kill-new action to kill-ring (#1286).
* helm-ring.el (helm-kill-ring-actions): New action.
Diffstat (limited to 'helm-ring.el')
-rw-r--r--helm-ring.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-ring.el b/helm-ring.el
index 04df6ae5..aad60c37 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -52,7 +52,8 @@ If nil or zero (disabled), don't truncate candidate, show all."
("Delete" . (lambda (_candidate)
(cl-loop for cand in (helm-marked-candidates)
do (setq kill-ring
- (delete cand kill-ring))))))
+ (delete cand kill-ring)))))
+ ("Kill new" . kill-new))
"List of actions for kill ring source."
:group 'helm-ring
:type '(alist :key-type string :value-type function))