aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Hübner <hans.huebner@gmail.com>2013-11-17 00:33:00 -0800
committerHans Hübner <hans.huebner@gmail.com>2013-11-17 00:33:00 -0800
commit8a777eb93d54b033d6c915be8f43d02c7d63b94d (patch)
treed5f4bd4c02902ffba7c39fdb73627cf01dbddf1b
parentba530fe9426a4b5823d9cf9fbf17d0064dc7e079 (diff)
parent459c830b895b8e7e0ad5e2664f67b134b4edfeb2 (diff)
downloadtl-who-8a777eb93d54b033d6c915be8f43d02c7d63b94d.tar.gz
tl-who-8a777eb93d54b033d6c915be8f43d02c7d63b94d.tar.bz2
tl-who-8a777eb93d54b033d6c915be8f43d02c7d63b94d.zip
Merge pull request #15 from stassats/master
Add a type-check for a stream in with-html-output.
-rw-r--r--who.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/who.lisp b/who.lisp
index 0695ef7..b2d0337 100644
--- a/who.lisp
+++ b/who.lisp
@@ -280,6 +280,7 @@ supplied."
(multiple-value-bind (declarations forms) (extract-declarations body)
`(let ((,var ,(or stream var)))
,@declarations
+ (check-type ,var stream)
(macrolet ((htm (&body body)
`(with-html-output (,',var nil :prologue nil :indent ,,indent)
,@body))