From 2584cb71c1a347e4c2b6b83fe4bb801c8ff4e4b3 Mon Sep 17 00:00:00 2001 From: Kevin Tew Date: Fri, 9 Mar 2012 12:46:14 -0700 Subject: [PATCH] Remove /opt/plt paths from docs --- collects/racket/place/distributed.rkt | 4 ---- collects/scribblings/reference/distributed.scrbl | 12 +++--------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/collects/racket/place/distributed.rkt b/collects/racket/place/distributed.rkt index 7ce22655b8..9168093239 100644 --- a/collects/racket/place/distributed.rkt +++ b/collects/racket/place/distributed.rkt @@ -12,7 +12,6 @@ (provide ssh-bin-path racket-path - distributed-places-path distributed-launch-path get-current-module-path @@ -127,9 +126,6 @@ (parameterize ([current-directory (find-system-path 'orig-dir)]) (find-executable-path (find-system-path 'exec-file) #f))) -; returns the path to the distributed.rkt file on the current machine. -(define (distributed-places-path) (get-current-module-path)) - ; find ssh-binary (define (ssh-bin-path) (define (exists? paths) diff --git a/collects/scribblings/reference/distributed.scrbl b/collects/scribblings/reference/distributed.scrbl index 5072dd34e5..31b1a24402 100644 --- a/collects/scribblings/reference/distributed.scrbl +++ b/collects/scribblings/reference/distributed.scrbl @@ -679,16 +679,10 @@ Returns the path to the ssh binary on the local system in string form. @defproc[(racket-path) path?]{ Returns the path to the currently executing racket binary on the local system. } -@examples[ #:eval evaler -(racket-path) -] -@defproc[(distributed-places-path) string?]{ -Returns the path to the distributed-places module on the local system. -} -@examples[ #:eval evaler -(distributed-places-path) -] +@;{@examples[ #:eval evaler +(racket-path) +]} @defform[(get-current-module-path)]{ Returns the path to the current module.