#| -*-Scheme-*-
-$Id: bufinp.scm,v 1.12 2004/02/16 05:42:49 cph Exp $
+$Id: bufinp.scm,v 1.13 2004/03/30 04:27:48 cph Exp $
Copyright 1989,1990,1991,1999,2004 Massachusetts Institute of Technology
,(lambda (port)
(let ((state (port/state port)))
(make-mark (bstate-group state)
- (bstate-start state)))))
+ (if (port/unread port)
+ (- (bstate-start state) 1)
+ (bstate-start state))))))
(CHAR-READY?
,(lambda (port)
(let ((state (port/state port)))
#| -*-Scheme-*-
-$Id: edwin.pkg,v 1.287 2004/02/16 05:43:26 cph Exp $
+$Id: edwin.pkg,v 1.288 2004/03/30 04:27:52 cph Exp $
Copyright 1989,1990,1991,1992,1993,1994 Massachusetts Institute of Technology
Copyright 1995,1996,1997,1998,1999,2000 Massachusetts Institute of Technology
(export (edwin)
make-buffer-input-port
with-input-from-mark
- with-input-from-region))
+ with-input-from-region)
+ (import (runtime port)
+ port/unread))
(define-package (edwin buffer-output-port)
(files "bufout")