Skip to content

Commit

Permalink
Fix WITH-ERROR.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Feb 4, 2017
1 parent de9de7d commit 45944de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolkit.lisp
Expand Up @@ -17,7 +17,7 @@
(with-foreign-values ,bindings ,call)
,@body))

(defmacro with-error ((err datum &rest datum-args &key (ok '(:ok)) &allow-other-keys) &body form)
(defmacro with-error ((err datum &rest datum-args &key (ok ''(:ok)) &allow-other-keys) &body form)
(let ((args (copy-list datum-args)))
(remf args :ok)
`(let ((,err (progn ,@form)))
Expand Down

0 comments on commit 45944de

Please sign in to comment.