From fc22d10b49d22c8f0c45a05a75f2f6a4ad4d4d0a Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Mon, 11 Oct 2010 15:15:08 -0500 Subject: [PATCH] fixed typos --- collects/scribblings/reference/port-lib.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collects/scribblings/reference/port-lib.scrbl b/collects/scribblings/reference/port-lib.scrbl index d5d6ac84f8..ffebfe2b7e 100644 --- a/collects/scribblings/reference/port-lib.scrbl +++ b/collects/scribblings/reference/port-lib.scrbl @@ -177,7 +177,7 @@ automatically. The resulting port is thread-safe, but not kill-safe (i.e., if a thread is terminated or suspended while using the port, the port may become damaged). -The @scheme[read-in], @scheme[close], @scheme[get-lcoation], +The @scheme[read-in], @scheme[close], @scheme[get-location], @scheme[count-lines!], @scheme[init-position], and @scheme[buffer-mode] procedures are the same as for @scheme[make-input-port]. @@ -191,14 +191,14 @@ not used when a peek request has an associated progress event. The @scheme[buffering?] argument determines whether @scheme[read-in] can be called to read more characters than are immediately demanded by -the user of the new port. If @scheme[buffer] mode is not @scheme[#f], +the user of the new port. If @scheme[buffer-mode] is not @scheme[#f], then @scheme[buffering?] determines the initial buffer mode, and @scheme[buffering?] is enabled after a buffering change only if the new mode is @scheme['block]. If @scheme[on-consumed] is not @scheme[#f], it is called when data is read from the port, as opposed to merely peeked. The argument to -@scheme[on-consume] is the result value of the port's reading +@scheme[on-consumed] is the result value of the port's reading procedure, so it can be an integer or any result from @scheme[read-in].}