From 9fe6c138cf0e145349824f8d9ca5ce524de85a5b Mon Sep 17 00:00:00 2001 From: Gustavo Massaccesi Date: Thu, 9 Jul 2015 22:18:17 -0300 Subject: [PATCH] Fix typos in docs --- pkgs/racket-doc/scribblings/guide/module-basics.scrbl | 2 +- pkgs/racket-doc/scribblings/reference/custom-ports.scrbl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/racket-doc/scribblings/guide/module-basics.scrbl b/pkgs/racket-doc/scribblings/guide/module-basics.scrbl index ac78cbd4e3..1a6145b4fa 100644 --- a/pkgs/racket-doc/scribblings/guide/module-basics.scrbl +++ b/pkgs/racket-doc/scribblings/guide/module-basics.scrbl @@ -113,7 +113,7 @@ Racket tools all work automatically with relative paths. For example, @commandline{racket sort.rkt} -on the comamnd line runs the @filepath{sort.rkt} program and +on the command line runs the @filepath{sort.rkt} program and automatically loads and compiles required modules. With a large enough program, compilation from source can take too long, so use diff --git a/pkgs/racket-doc/scribblings/reference/custom-ports.scrbl b/pkgs/racket-doc/scribblings/reference/custom-ports.scrbl index 0cf75682a3..4cc96f8846 100644 --- a/pkgs/racket-doc/scribblings/reference/custom-ports.scrbl +++ b/pkgs/racket-doc/scribblings/reference/custom-ports.scrbl @@ -51,7 +51,7 @@ written. Creates an input port, which is immediately open for reading. If @racket[close] procedure has no side effects, then the port need not -be explicitly closed. See also @racket[make-input-port/peek-to-read]. +be explicitly closed. See also @racket[make-input-port/read-to-peek]. The arguments implement the port as follows: @@ -216,8 +216,8 @@ The arguments implement the port as follows: @elemref["special"]{special} when @racket[peek] is @racket[#f]. Finally, the automatic peek implementation is incompatible with progress events, so if @racket[peek] is - @racket[#f], then @racket[progress-evt] and @racket[commit] must - be @racket[#f]. See also @racket[make-input-port/peek-to-read], + @racket[#f], then @racket[get-progress-evt] and @racket[commit] must + be @racket[#f]. See also @racket[make-input-port/read-to-peek], which implements peeking in terms of @racket[read-in] without these constraints.