Fix typo, clarify get-file filter

This commit is contained in:
Lehi Toskin 2015-06-15 15:19:16 -07:00 committed by Vincent St-Amour
parent 41d4e9dd2d
commit 89007ae039

View File

@ -58,7 +58,9 @@ On Windows and Unix, @racket[filters] determines a set of filters from
@racket[filters] list contains two strings: a description of the filter
as seen by the user, and a filter pattern matched against file names.
Pattern strings can be a simple ``glob'' pattern, or a number of glob
patterns separated by a @litchar[";"] character.
patterns separated by a @litchar[";"] character. These patterns are not
regular expressions and can only be used with a @litchar["*"] wildcard
character. For example, @racket["*.jp*g;*.png"].
On Unix, a @racket["*.*"] pattern is implicitly replaced with @racket["*"].
On Mac OS X, suffix names are extracted from all globs that match a
fixed suffix (e.g., two suffixes of @racket["foo"] and @racket["bar"]
@ -84,7 +86,7 @@ See also @racket[path-dialog%] for a richer interface.
(or/c (listof path?) #f)]{
Like
@racket[get-file], except that the user can select multiple files, and the
result is either a list of file paths of @racket[#f].
result is either a list of file paths or @racket[#f].
}