Add code to bind correct load directory.
authorChris Hanson <org/chris-hanson/cph>
Fri, 7 Jan 2000 22:50:51 +0000 (22:50 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 7 Jan 2000 22:50:51 +0000 (22:50 +0000)
v7/src/imail/load.scm

index 9c6ba281366079cb2413b51beb7ffb286acdaae2..b81e83fd0f479cd42433cb15e50b5f8a8879f501 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: load.scm,v 1.1 2000/01/04 22:51:42 cph Exp $
+;;; $Id: load.scm,v 1.2 2000/01/07 22:50:51 cph Exp $
 ;;;
 ;;; Copyright (c) 1999 Massachusetts Institute of Technology
 ;;;
 ;;;; IMAIL mail reader: loader
 
 (load-option 'SOS)
-(load "imail-util")
-(load "rfc822")
-(load "imail-core")
-(load "imail-file")
-(load "imail-rmail")
-(load "imail-umail")
\ No newline at end of file
+(with-working-directory-pathname (directory-pathname (current-load-pathname))
+  (lambda ()
+    (load "imail-util")
+    (load "rfc822")
+    (load "imail-core")
+    (load "imail-file")
+    (load "imail-rmail")
+    (load "imail-umail")))
\ No newline at end of file