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

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

[elpa] 31/77: Simplify the interactive form of easy-kill-thing


From: Leo Liu
Subject: [elpa] 31/77: Simplify the interactive form of easy-kill-thing
Date: Sat, 05 Apr 2014 04:08:16 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit bd4d9e0fee2fb39b3d8efaedaf87b3f2f557d938
Author: Leo Liu <address@hidden>
Date:   Thu Oct 10 08:26:36 2013 +0800

    Simplify the interactive form of easy-kill-thing
---
 easy-kill.el |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/easy-kill.el b/easy-kill.el
index 1895866..a208594 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -154,9 +154,7 @@ candidate property instead."
 (defun easy-kill-thing (&optional thing n nomsg inhibit-handler)
   ;; N can be -, + and digits
   (interactive
-   (list (cdr (assoc (car (last (listify-key-sequence
-                                 (single-key-description last-command-event))))
-                     easy-kill-alist))
+   (list (cdr (assq last-command-event easy-kill-alist))
          (prefix-numeric-value current-prefix-arg)))
   (let ((thing (or thing (overlay-get easy-kill-candidate 'thing)))
         (n (or n 1)))



reply via email to

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