summaryrefslogtreecommitdiff
path: root/org-fc-cache.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-11-16 17:02:37 +0100
committerLeon Rische <leon.rische@me.com>2020-11-16 17:02:37 +0100
commitb91582ba66e1c092e2b7f169bb61eb9b819540d0 (patch)
tree108070333b49a30c7a69305e06cb090715f801fd /org-fc-cache.el
parent9f0f553ff03629637df55555fea51963a8d046e0 (diff)
Include filetitle in cards
Diffstat (limited to 'org-fc-cache.el')
-rw-r--r--org-fc-cache.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/org-fc-cache.el b/org-fc-cache.el
index 17ab403..cd494ac 100644
--- a/org-fc-cache.el
+++ b/org-fc-cache.el
@@ -81,9 +81,16 @@ as its input."
;; the entries of the hash table.
(if filter
(dolist (card (cl-remove-if-not filter (plist-get file :cards)))
- (push (plist-put card :path path) res))
+ (push (plist-put
+ (plist-put card :path path)
+ :filetitle
+ (plist-get file :title)) res))
(dolist (card (plist-get file :cards))
- (push (plist-put card :path path) res)))))
+ (push
+ (plist-put
+ (plist-put card :path path)
+ :filetitle
+ (plist-get file :title)) res)))))
org-fc-cache)
res))