emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/easy-kill af56568 08/14: Fix #26: Make easy-kill-unhigh


From: Stefan Monnier
Subject: [elpa] externals/easy-kill af56568 08/14: Fix #26: Make easy-kill-unhighlight save selection candidate
Date: Mon, 15 Mar 2021 22:20:17 -0400 (EDT)

branch: externals/easy-kill
commit af565684a71b24be1f602fda5b986d841fc33b3a
Author: Leo Liu <sdl.web@gmail.com>
Commit: Leo Liu <sdl.web@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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]