[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 11/13: Fix thinko in last change
From: |
Leo Liu |
Subject: |
[elpa] 11/13: Fix thinko in last change |
Date: |
Sun, 13 Apr 2014 07:35:27 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit d61e8f43c1c0882c0c0e13a3b6ef7f05471b5a27
Author: Leo Liu <address@hidden>
Date: Sun Apr 13 10:30:12 2014 +0800
Fix thinko in last change
Note only the describe-PROP can be a function object.
---
easy-kill.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/easy-kill.el b/easy-kill.el
index 002c094..c91bd4c 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -257,9 +257,10 @@ Otherwise, it is the value of the overlay's candidate
property."
;; Allow describe-PROP to provide customised
;; description.
for dk = (intern-soft (format "describe-%s" k))
- for v = (or (plist-get all dk) (plist-get all k))
- when v collect (format "%s:\t%s" k
- (if (functionp v) (funcall v)
v))))
+ for dv = (and dk (plist-get all dk))
+ for v = (or (if (functionp dv) (funcall dv) dv)
+ (plist-get all k))
+ when v collect (format "%s:\t%s" k v)))
(txt (mapconcat #'identity props "\n")))
(format "cmd:\t%s\n%s" (if easy-kill-mark "easy-mark" "easy-kill") txt)))
- [elpa] 01/13: Improve README.rst to include some use examples, (continued)
- [elpa] 01/13: Improve README.rst to include some use examples, Leo Liu, 2014/04/13
- [elpa] 02/13: Provide a universal accessor easy-kill-get and use it, Leo Liu, 2014/04/13
- [elpa] 03/13: New function easy-kill-interprogram-cut, Leo Liu, 2014/04/13
- [elpa] 04/13: Show tooltip describing kill candidate and echo js2 node, Leo Liu, 2014/04/13
- [elpa] 05/13: New format of easy-kill-alist to support append separator, Leo Liu, 2014/04/13
- [elpa] 06/13: New function easy-kill-thing-handler for mode-based dispatch, Leo Liu, 2014/04/13
- [elpa] 07/13: Make js2 dependency optional, Leo Liu, 2014/04/13
- [elpa] 08/13: Implement #10: allow `-' to move before first selection, Leo Liu, 2014/04/13
- [elpa] 09/13: Fix last change for the case of no thing at point, Leo Liu, 2014/04/13
- [elpa] 10/13: Fix #12: don't silenty change to `list' when +/- on `sexp', Leo Liu, 2014/04/13
- [elpa] 11/13: Fix thinko in last change,
Leo Liu <=
- [elpa] 12/13: Fix #11: Work around http://debbugs.gnu.org/17247, Leo Liu, 2014/04/13
- [elpa] 13/13: Merge branch 'master' of https://github.com/leoliu/easy-kill, Leo Liu, 2014/04/13