leoliu pushed a commit to branch master in repository elpa. commit bd4d9e0fee2fb39b3d8efaedaf87b3f2f557d938 Author: Leo Liu <sdl....@gmail.com> 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)))