Commit 9a1b3c77378fc5a7a5b2f284eb7fb2bed0950266

Thomas de Grivel 2017-06-28T02:37:39

stream-flush-output-buffer

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/babel-stream.lisp b/babel-stream.lisp
index 3b41175..23bd75f 100644
--- a/babel-stream.lisp
+++ b/babel-stream.lisp
@@ -103,6 +103,9 @@
 (defmethod flush ((stream babel-output-stream))
   (flush (stream-underlying-stream stream)))
 
+(defmethod stream-flush-output-buffer ((stream babel-output-stream))
+  (stream-flush-output-buffer (stream-underlying-stream stream)))
+
 (defun babel-output-stream (stream &optional (external-format :utf-8))
   (make-instance 'babel-output-stream
                  :external-format external-format