diff --git a/collects/help/help.ss b/collects/help/help.ss index d5ab413a..4fcc1552 100644 --- a/collects/help/help.ss +++ b/collects/help/help.ss @@ -15,15 +15,7 @@ (require-library "url.ss" "net") -(define startup-url - (string-append "file:" - (with-handlers ([void - (lambda (x) - (build-path (collection-path "help") "index.htm"))]) - (let ([f (build-path (collection-path "doc") "help" "index.html")]) - (if (file-exists? f) - f - (error "not there")))))) +(require-library "startup-url.ss" "help") (invoke-unit/sig (require-relative-library "helpr.ss")