diff options
author | Stas Boukarev <stassats@gmail.com> | 2013-11-17 12:28:52 +0400 |
---|---|---|
committer | Stas Boukarev <stassats@gmail.com> | 2013-11-17 12:28:52 +0400 |
commit | 459c830b895b8e7e0ad5e2664f67b134b4edfeb2 (patch) | |
tree | d5f4bd4c02902ffba7c39fdb73627cf01dbddf1b | |
parent | ba530fe9426a4b5823d9cf9fbf17d0064dc7e079 (diff) | |
download | tl-who-459c830b895b8e7e0ad5e2664f67b134b4edfeb2.tar.gz tl-who-459c830b895b8e7e0ad5e2664f67b134b4edfeb2.tar.bz2 tl-who-459c830b895b8e7e0ad5e2664f67b134b4edfeb2.zip |
Add a type-check for a stream in with-html-output.
Avoids confusion caused in Issue #14.
-rw-r--r-- | who.lisp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |