summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-04 09:21:54 +0200
committerThanos Apollo <[email protected]>2024-03-04 09:21:54 +0200
commitc6d04c20512cd44d2fc3d724b4e8a388964194ad (patch)
tree49b33188b5bbb95df43fd6abfb6d2d855865466f /gnosis.el
parentb82bfebecd829f78ab151c12336500003c32c72d (diff)
gnosis-edit-update-note: Add assert for options
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index bb7b6d6..cac46fb 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1359,6 +1359,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")
;; Construct the update clause for the emacsql update statement.
(cl-loop for (field . value) in
`((main . ,main)