diff --git a/collects/help/help.ss b/collects/help/help.ss index 1c1b4eab..d5ab413a 100644 --- a/collects/help/help.ss +++ b/collects/help/help.ss @@ -16,7 +16,14 @@ (require-library "url.ss" "net") (define startup-url - (string-append "file:" (build-path (collection-path "helpdoc") "helpdesk.html"))) + (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")))))) (invoke-unit/sig (require-relative-library "helpr.ss")