From d75d6ce636f2740d8af7874572d39edb967e1a35 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sat, 27 Nov 2004 22:21:01 +0000 Subject: [PATCH] . original commit: e60630cd274d6f939304092e80989d2ad54d64f2 --- collects/framework/private/main.ss | 3 ++- collects/framework/private/path-utils.ss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/collects/framework/private/main.ss b/collects/framework/private/main.ss index 7b5ea61b..27f39f5c 100644 --- a/collects/framework/private/main.ss +++ b/collects/framework/private/main.ss @@ -103,7 +103,8 @@ (cons (bytes->path (car x)) (cdr x))) l)))) - (preferences:set-default 'framework:last-directory (find-system-path 'home-dir) + (preferences:set-default 'framework:last-directory + (find-system-path 'doc-dir) (lambda (x) (or (not x) path-string?))) (preferences:set-un/marshall 'framework:last-directory diff --git a/collects/framework/private/path-utils.ss b/collects/framework/private/path-utils.ss index 982b21bf..dd3da18f 100644 --- a/collects/framework/private/path-utils.ss +++ b/collects/framework/private/path-utils.ss @@ -13,7 +13,7 @@ (let-values ([(base name dir?) (if name (split-path name) - (values (find-system-path 'home-dir) + (values (find-system-path 'doc-dir) (bytes->path #"mredauto") #f))]) (let* ([base (if (path? base)