[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/taxy a672c8e 32/42: Fix: (taxy-make-take-function) Allo
From: |
ELPA Syncer |
Subject: |
[elpa] externals/taxy a672c8e 32/42: Fix: (taxy-make-take-function) Allow symbol args to functions |
Date: |
Wed, 15 Sep 2021 12:57:32 -0400 (EDT) |
branch: externals/taxy
commit a672c8e347b405a14928c4bda12cada95221c12c
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Fix: (taxy-make-take-function) Allow symbol args to functions
---
taxy.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/taxy.el b/taxy.el
index 231fa27..0bd2160 100644
--- a/taxy.el
+++ b/taxy.el
@@ -336,8 +336,11 @@ defined with a definer defined by
`taxy-define-key-definer')."
(funcall fn buffer))
(or ,name ""))))
(`(,(and (pred symbolp) fn)
- . ,(and args (guard (cl-typecase (car args)
- ((or keyword (and atom (not
symbol)))
+ . ,(and args (guard (pcase (car args)
+ ((or (pred keywordp)
+ (and (pred atom)
+ (pred (not
symbolp)))
+ `(quote ,_))
t)))))
;; Key with args: replace with a lambda that
;; calls that key's function with given args.
- [elpa] externals/taxy 45cdf29 41/42: Docs: Mention deffy in changelog, (continued)
- [elpa] externals/taxy 45cdf29 41/42: Docs: Mention deffy in changelog, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy ac9bc63 16/42: WIP: elispy changes, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy ae7456f 11/42: Add: (taxy-magit-section-define-column-definer) Indentation/align, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy 01b9cac 12/42: Change/Fix: (taxy-magit-section-define-column-definer) Variables, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy 8757b52 10/42: Add: (taxy-magit-section-format-header), ELPA Syncer, 2021/09/15
- [elpa] externals/taxy 5589f50 03/42: Comment: Add note, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy a14fa15 04/42: Change: (taxy-magit-section) format-fn = #'prin1-to-string, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy 421cfbf 26/42: Add: (deffy-project), ELPA Syncer, 2021/09/15
- [elpa] externals/taxy f8558ab 28/42: Fix: (deffy-project) Arguments, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy a1f9081 29/42: Comment: Add TODOs, ELPA Syncer, 2021/09/15
- [elpa] externals/taxy a672c8e 32/42: Fix: (taxy-make-take-function) Allow symbol args to functions,
ELPA Syncer <=
- [elpa] externals/taxy 5a16dd0 39/42: Comment: Add TODO, ELPA Syncer, 2021/09/15