[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)))
- [elpa] 19/77: Add lispy treatment for +/- on list and sexp, (continued)
- [elpa] 19/77: Add lispy treatment for +/- on list and sexp, Leo Liu, 2014/04/05
- [elpa] 14/77: Doc fix and release v0.7.0, Leo Liu, 2014/04/05
- [elpa] 22/77: Handle the case when overlay has already been destroyed, Leo Liu, 2014/04/05
- [elpa] 25/77: Fix thinko in easy-kill-backward-down, Leo Liu, 2014/04/05
- [elpa] 21/77: New command easy-kill-mark-region, Leo Liu, 2014/04/05
- [elpa] 24/77: Improve list expand/shrink support in smie-based modes, Leo Liu, 2014/04/05
- [elpa] 18/77: Consolidate all kill features in easy-kill-thing, Leo Liu, 2014/04/05
- [elpa] 26/77: Fix #2: just call kill-ring-save when region is active, Leo Liu, 2014/04/05
- [elpa] 27/77: Declare dependency on emacs 24, Leo Liu, 2014/04/05
- [elpa] 29/77: Merge pull request #4 from purcell/patch-1, Leo Liu, 2014/04/05
- [elpa] 31/77: Simplify the interactive form of easy-kill-thing,
Leo Liu <=
- [elpa] 28/77: [remap kill-ring-save] should be a better key binding for this feature., Leo Liu, 2014/04/05
- [elpa] 35/77: Doc fix and release v0.8.0, Leo Liu, 2014/04/05
- [elpa] 36/77: New variable easy-kill-base-map for customising key bindings, Leo Liu, 2014/04/05
- [elpa] 33/77: Support append kill for append-next-kill and easy-kill, Leo Liu, 2014/04/05
- [elpa] 34/77: Better support for defining commands that exit easy-kill, Leo Liu, 2014/04/05
- [elpa] 30/77: Merge pull request #6 from knu/usage-remap, Leo Liu, 2014/04/05
- [elpa] 32/77: Improve easy-kill-bounds-of-list, Leo Liu, 2014/04/05
- [elpa] 37/77: Make easy-kill-backward-up work better when in strings, Leo Liu, 2014/04/05
- [elpa] 38/77: Fix #3: Add command easy-mark for marking, Leo Liu, 2014/04/05
- [elpa] 39/77: Fix doc and buglets in last change, Leo Liu, 2014/04/05