From c19e7b65cf91609adf37d33c4e07c3c6c1452297 Mon Sep 17 00:00:00 2001 From: Stephen De Gabrielle Date: Sun, 3 Nov 2019 01:41:39 +0000 Subject: [PATCH] changed get-lib-dirs to get-lib-search-dirs (#2625) * changed get-lib-dirs to get-lib-search-dirs @racket[get-lib-dirs] does not exist -replaced with get-lib-search-dirs https://docs.racket-lang.org/search/index.html?q=get-lib- https://docs.racket-lang.org/raco/dirs.html?q=get-lib-dirs#%28def._%28%28lib._setup%2Fdirs..rkt%29._get-lib-search-dirs%29%29 * Update libs.scrbl corrected * Update libs.scrbl removed misconception edited for clarity * typo * clarity --- pkgs/racket-doc/scribblings/foreign/libs.scrbl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/foreign/libs.scrbl b/pkgs/racket-doc/scribblings/foreign/libs.scrbl index a179dc6fac..2bc17bf239 100644 --- a/pkgs/racket-doc/scribblings/foreign/libs.scrbl +++ b/pkgs/racket-doc/scribblings/foreign/libs.scrbl @@ -64,7 +64,8 @@ process: @itemlist[ @item{If @racket[path] is not an absolute path, look in each - directory reported by @racket[get-lib-dirs]. In each + directories specified by the optional @racket[#:get-lib-dirs] keyword + (which defaults to @racket[get-lib-search-dirs]). In each directory, try @racket[path] with the first version in @racket[version], adding a suitable suffix if @racket[path] does not already end in the suffix, then try the second version