Skip to content

Commit 4cce150

Browse files
committed
Always evaluate expression in firstn-values.
1 parent 7263ee3 commit 4cce150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binding.lisp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Note that declarations work just like `let*'."
216216

217217
(defmacro firstn-values (n expr)
218218
(cond ((= n 0)
219-
`(values))
219+
`(progn ,expr (values)))
220220
((= n 1)
221221
`(values ,expr))
222222
(t (let ((temps (loop for i below n collect (string-gensym 'temp))))

0 commit comments

Comments
 (0)