Commit 0151b5b698162ae042a82851b4cb5d53afef7b77

Thomas de Grivel 2018-05-16T09:28:06

stream-open-p

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/babel-output-stream.lisp b/babel-output-stream.lisp
index bd64ec1..88c8be3 100644
--- a/babel-output-stream.lisp
+++ b/babel-output-stream.lisp
@@ -30,6 +30,9 @@
 (defmethod stream-flush-output ((stream babel-output-stream))
   (stream-flush-output (stream-underlying-stream stream)))
 
+(defmethod stream-open-p ((stream babel-output-stream))
+  (stream-open-p (stream-underlying-stream stream)))
+
 (defmethod stream-write ((stream babel-output-stream) (element fixnum))
   (assert (typep element '(unsigned-byte 8)))
   (write (stream-underlying-stream stream) element))