Choose the first element in list using nth instead of cadr
This commit is contained in:
parent
373ca10b34
commit
ee60c00d78
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ Returns multiple values:
|
|||
- The group name (GROUP)
|
||||
- The choices (CHOICES)"
|
||||
(let ((splitted-list (split-list-by-keyword question)))
|
||||
(apply #'values (mapcar (lambda (x) (cadr x)) splitted-list))))
|
||||
(apply #'values (mapcar (lambda (x) (nth 1 x)) splitted-list))))
|
||||
|
||||
(defmacro questionnaire (action &body body)
|
||||
"This macro generates an HTML form composed of multiple questions, each rendered using the `question' macro.
|
||||
|
|
Loading…
Add table
Reference in a new issue