summaryrefslogtreecommitdiff
path: root/gnosis-dev.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-14 13:27:12 +0200
committerThanos Apollo <[email protected]>2024-01-14 13:27:12 +0200
commitf9f9c31bc38bb8b6475d59c5f6f6499ddf1619a8 (patch)
tree3c9e667fe0a778e3954992bedd15a6106c5fe5f4 /gnosis-dev.el
parent93c1b5c5048b36fc59b47f7a11412072c13b1b29 (diff)
gnosis-dev: Add y-or-n type
Diffstat (limited to 'gnosis-dev.el')
-rw-r--r--gnosis-dev.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnosis-dev.el b/gnosis-dev.el
index 72a9b99..f5003fc 100644
--- a/gnosis-dev.el
+++ b/gnosis-dev.el
@@ -65,7 +65,15 @@ by the thoracodorsal nerve."
:note "this is a {c1:note} with multiple {c1:clozes}"
:hint "note"
:tags (gnosis-dev-random-items gnosis-dev-tags 2)
- :extra "extra")))))
+ :extra "extra")))
+ (when (y-or-n-p "Add note type y-or-n?")
+ (dotimes (_ num)
+ (gnosis-add-note--y-or-n :deck testing-deck
+ :question "Is Codeine recommended in breastfeeding mothers?"
+ :hint "hint"
+ :answer 110
+ :extra "extra"
+ :tags (gnosis-dev-random-items gnosis-dev-tags 2))))))
(defun gnosis-dev-test ()
"Begin/End testing env.