Add operation to get the mark from a buffer output port.
authorChris Hanson <org/chris-hanson/cph>
Thu, 12 Aug 1993 06:03:21 +0000 (06:03 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 12 Aug 1993 06:03:21 +0000 (06:03 +0000)
v7/src/edwin/bufout.scm

index dd28164fcb19460eec3a19bad157006d4de3330e..60e08eac64b3e90489db55b5fb63c2ef18d43785 100644 (file)
@@ -1,8 +1,8 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/bufout.scm,v 1.8 1992/04/16 22:28:44 cph Exp $
+;;;    $Id: bufout.scm,v 1.9 1993/08/12 06:03:21 cph Exp $
 ;;;
-;;;    Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology
+;;;    Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology
 ;;;
 ;;;    This material was developed by the Scheme project at the
 ;;;    Massachusetts Institute of Technology, Department of
@@ -65,6 +65,9 @@
                              false
                              buffer))))
 
+(define (output-port->mark port)
+  (mark-temporary-copy (port/mark port)))
+
 (define-integrable (port/mark port)
   (car (port/state port)))