summaryrefslogtreecommitdiff
path: root/org-fc-awk.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-01-15 16:30:58 +0100
committerLeon Rische <leon.rische@me.com>2020-01-15 16:30:58 +0100
commit5561ea0ea9b63dc7950ee2fee99c73ec51e42c88 (patch)
tree98b9dcb9966d8382e140743314880f77d6b8f3bd /org-fc-awk.el
parent646bdd5adef51b7fe774208486f1c365ba6bb405 (diff)
Remove dash functions / macros
Diffstat (limited to 'org-fc-awk.el')
-rw-r--r--org-fc-awk.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/org-fc-awk.el b/org-fc-awk.el
index d579fab..d3ca453 100644
--- a/org-fc-awk.el
+++ b/org-fc-awk.el
@@ -91,10 +91,10 @@ parsing each element with its header specification."
(defun org-fc-tsv-parse (headers input)
"Parse a tsv INPUT into a plist, give a list of HEADERS."
- (let* ((lines (split-string input "\n" t)))
- (--map (org-fc-tsv--parse-row
- headers
- (split-string it "\t")) lines)))
+ (mapcar
+ (lambda (row) (org-fc-tsv--parse-row headers (split-string row "\t")))
+ (split-string input "\n" t)))
+
;;;; TSV Headers
(defvar org-fc-awk-card-headers