From b91582ba66e1c092e2b7f169bb61eb9b819540d0 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Mon, 16 Nov 2020 17:02:37 +0100 Subject: Include filetitle in cards --- org-fc-cache.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'org-fc-cache.el') 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)) -- cgit v1.2.3