summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-20 13:26:29 +0200
committerThanos Apollo <[email protected]>2024-02-20 13:26:29 +0200
commit50a05e728f034d3fba22d9d1c318897e95f2c3e3 (patch)
treeccff9ef41b78f50d45795f0a23b73123d087ebd7 /gnosis.el
parentb7d99a6a06b27d0e21bf1e8dd7b87e326031f0b9 (diff)
[fix] gnosis-display-mcq-options: hardcoded id
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 c1fea1b..aac6840 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -224,7 +224,7 @@ Example:
(defun gnosis-display-mcq-options (id)
"Display answer options for mcq note ID."
- (let ((options (apply #'append (gnosis-select 'options 'notes `(= id 1) t)))
+ (let ((options (apply #'append (gnosis-select 'options 'notes `(= id ,id) t)))
(option-num 1))
(insert "\n\n" (propertize "Options:" 'face 'gnosis-face-directions))
(cl-loop for option in options