default "home" directory.
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/hlpcom.scm,v 1.103 1992/03/13 10:11:12 cph Exp $
+;;; $Id: hlpcom.scm,v 1.104 1992/09/25 01:01:02 cph Exp $
;;;
-;;; Copyright (c) 1986, 1989-91 Massachusetts Institute of Technology
+;;; Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology
;;;
;;; This material was developed by the Scheme project at the
;;; Massachusetts Institute of Technology, Department of
()
(lambda ()
(delete-other-windows (current-window))
- (let ((pathname (merge-pathnames "TUTORIAL" (user-homedir-pathname))))
+ (let ((pathname (merge-pathnames "TUTORIAL" (default-homedir-pathname))))
(let ((buffer (pathname->buffer pathname)))
(if buffer
(select-buffer buffer)
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/paths.scm,v 1.12 1992/05/26 17:14:48 jinx Exp $
+$Id: paths.scm,v 1.13 1992/09/25 01:00:44 cph Exp $
-Copyright (c) 1989-91 Massachusetts Institute of Technology
+Copyright (c) 1989-92 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
"etc"))
(define (edwin-tutorial-pathname)
- (edwin-etc-pathname "TUTORIAL"))
\ No newline at end of file
+ (edwin-etc-pathname "TUTORIAL"))
+
+(define default-homedir-pathname
+ ;; This binding exists to allow uses of the "home" directory as a
+ ;; default directory to be overridden.
+ user-homedir-pathname)
\ No newline at end of file
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/sendmail.scm,v 1.14 1992/08/18 22:10:54 cph Exp $
+;;; $Id: sendmail.scm,v 1.15 1992/09/25 01:00:55 cph Exp $
;;;
;;; Copyright (c) 1991-92 Massachusetts Institute of Technology
;;;
(prompt-for-confirmation?
"Unsent message being composed; erase it")))
(begin
- (set-buffer-default-directory! buffer (->pathname "~/"))
+ (set-buffer-default-directory! buffer (default-homedir-pathname))
(setup-buffer-auto-save! buffer)
(region-delete! (buffer-unclipped-region buffer))
(mail-setup buffer to subject in-reply-to cc reply-buffer)))))