summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-13 10:04:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-13 10:04:39 -0700
commita9e4ee0f8d63dbdae72cdfa31ef16276ed251060 (patch)
tree3c2b01569c7c0d19420af5d7d581e555bf8dcdae /share
parent30bab0470eace6669bcdabd2213e158c70772982 (diff)
downloadtxr-a9e4ee0f8d63dbdae72cdfa31ef16276ed251060.tar.gz
txr-a9e4ee0f8d63dbdae72cdfa31ef16276ed251060.tar.bz2
txr-a9e4ee0f8d63dbdae72cdfa31ef16276ed251060.zip
ignwarn: handle warnings with multiple args.
* share/txr/stdlib/except.tl (ignwarn): Warnings have more than one argument; the handling lambda must take variable args.
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/except.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/txr/stdlib/except.tl b/share/txr/stdlib/except.tl
index aa2c214a..15d7a365 100644
--- a/share/txr/stdlib/except.tl
+++ b/share/txr/stdlib/except.tl
@@ -85,4 +85,4 @@
(sys:expand-handle form try-form handle-clauses))
(defmacro ignwarn (. forms)
- ^(handler-bind (lambda (exc-sym arg) (throw 'continue)) (warning) ,*forms))
+ ^(handler-bind (lambda (exc-sym . args) (throw 'continue)) (warning) ,*forms))