branch: externals/gnosis
commit 6a37c78f39845e841928e450259c7898fe064827
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>
update-thema: Add ability to change deck.
---
gnosis.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnosis.el b/gnosis.el
index 0072a944d2..c4501892c3 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -959,6 +959,8 @@ When `gnosis--id-cache' is bound, uses hash table for
existence check."
(gnosis-update 'themata `(= tags ',tags) `(= id ,id))
(when type
(gnosis-update 'themata `(= type ,type) `(= id ,id)))
+ (when deck-id
+ (gnosis-update 'themata `(= deck-id ,deck-id) `(= id ,id)))
(gnosis--delete 'links `(= source ,id))
(cl-loop for link in links
do (gnosis--insert-into 'links `([,id ,link]))))