summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2025-01-03 19:48:10 +0200
committerThanos Apollo <[email protected]>2025-01-03 19:48:10 +0200
commited2588d2f93b11b8c310a2b7ed14558572bc65b8 (patch)
treef64f6324de6469140ada3506feba56b31c45450f
parent66021690ff2a36f663dc92fac81c278d9986fbf4 (diff)
Add gnosis-thema-types.
* Mapping of Themas & their respective functions.
-rw-r--r--gnosis.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index 28d255d..84c7b49 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -116,8 +116,12 @@ framework's minibuffer."
(defconst gnosis-db-version 3
"Gnosis database version.")
-(defvar gnosis-note-types '("MCQ" "Cloze" "Basic" "Double" "y-or-n")
- "Gnosis available note types.")
+(defvar gnosis-thema-types
+ '(("Basic" . gnosis-add-thema--basic)
+ ("MCQ" . gnosis-add-thema--mcq)
+ ("Double" . gnosis-add-thema--double)
+ ("Cloze" . gnosis-add-thema--cloze))
+ "Mapping of Themas & their respective functions.")
(defvar gnosis-previous-note-tags '()
"Tags input from previously added note.")