summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-25 17:59:55 +0200
committerThanos Apollo <[email protected]>2023-12-25 17:59:55 +0200
commit45aaf268c84c2f0af030485d9572883abbd5dc91 (patch)
tree2b0c2c4591ba9631fddc286921605550eeb975bb
parent55ec53bddd50cbb6cdde897ba85a62336659cf44 (diff)
change default suspend value to nil
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index d92745c..7120e24 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -167,7 +167,7 @@ Set SPLIT to t to split all input given."
(gnosis--delete 'decks `(= name ,deck))
(message "Deleted deck %s" deck))
-(cl-defun gnosis-add-note-mcq (&key deck question choices correct-answer extra (image nil) tags (suspend 0))
+(cl-defun gnosis-add-note-mcq (&key deck question choices correct-answer extra (image nil) tags (suspend nil))
"Create a NOTE with a list of multiple CHOICES.
MCQ type consists of a main `QUESTION' that is displayed to the user.
@@ -330,7 +330,7 @@ Returns a list of the form (ef-increase ef-decrease ef)."
(last-rev integer :not-null) ;; Last review date
(next-rev integer :not-null) ;; Next review date
(failures integer :not-null) ;; Number of consecutive review failures
- (suspend integer :not-null) ;; binary value, 1 = suspend note
+ (suspend integer)
(n integer :not-null)] ;; Number of reviews
(:foreign-key [id] :references notes [id]
:on-delete :cascade)))