summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-05 07:57:57 +0200
committerThanos Apollo <[email protected]>2024-03-05 07:57:57 +0200
commit9517d5da9c3bf68c0b4e91d1cb8605937ae8e7d7 (patch)
tree4ac7dcd62b064d15fb4a1bfc40db5295920a7185 /gnosis.el
parentfd5793319cf54ba58f8ac92575d72ad50785e999 (diff)
gnosis-edit-update-note: Adjust cl-assert options for MCQ
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 46f0e13..b3a2d67 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1361,7 +1361,7 @@ SUSPEND: Suspend note, 0 for unsuspend, 1 for suspend"
"Extra-notes must be a string, or nil")
(cl-assert (listp tags) nil "Tags must be a list of strings")
(cl-assert (and (listp ef) (length= ef 3)) nil "ef must be a list of 3 floats")
- (cl-assert (stringp options) nil "Options must be a string")
+ (cl-assert (or (stringp options) (listp options)) nil "Options must be a string, or a list for MCQ")
;; Construct the update clause for the emacsql update statement.
(cl-loop for (field . value) in
`((main . ,main)