branch: externals/easy-kill
commit 3c0fbada8ca555e120e3de2a65109aa8c6e02036
Author: Akinori Musha <[email protected]>
Commit: Leo Liu <[email protected]>

    Make sure easy-kill-candidate is non-nil
---
 easy-kill.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/easy-kill.el b/easy-kill.el
index e6f1299b5e..f11de711a1 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -631,7 +631,7 @@ duplicate.  `rectangle-mark-mode' is also supported.  N 
specifies the
 number of copies to insert."
   (interactive "*p")
   (or
-   (pcase (easy-kill-get bounds)
+   (pcase (if easy-kill-candidate (easy-kill-get bounds) '(nil . nil))
      (`(,x . ,x)
       (ignore x)
       (cond

Reply via email to