branch: externals/easy-kill commit af565684a71b24be1f602fda5b986d841fc33b3a Author: Leo Liu <sdl....@gmail.com> Commit: Leo Liu <sdl....@gmail.com>
Fix #26: Make easy-kill-unhighlight save selection candidate --- easy-kill.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/easy-kill.el b/easy-kill.el index 38f15c1..07d63ea 100644 --- a/easy-kill.el +++ b/easy-kill.el @@ -551,7 +551,8 @@ checked." (put 'easy-kill-unhighlight 'easy-kill-exit t) (defun easy-kill-unhighlight () (interactive) - (easy-kill-echo "`%s' copied" (easy-kill-get thing))) + (and (easy-kill-save-candidate) + (easy-kill-echo "`%s' copied" (easy-kill-get thing)))) (defun easy-kill-exit-p (cmd) (and (symbolp cmd) (get cmd 'easy-kill-exit)))