Load "ice-9/deprecated.scm" when appropriate.
authorMarius Vollmer <mvo@zagadka.de>
Wed, 26 Mar 2003 17:59:22 +0000 (17:59 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Wed, 26 Mar 2003 17:59:22 +0000 (17:59 +0000)
(try-load-module): Also try the old deprecated method, maybe.

ice-9/boot-9.scm

index 4cabb75..71d5d3b 100644 (file)
 (primitive-load-path "ice-9/r4rs.scm")
 
 \f
+;;; {Deprecated stuff}
+
+(begin-deprecated
+ (primitive-load-path "ice-9/deprecated.scm"))
+
+\f
+
 ;;; {Simple Debugging Tools}
 ;;
 
 ;; (define-special-value '(app modules new-ws) (lambda () (make-scm-module)))
 
 (define (try-load-module name)
-  (try-module-autoload name))
+  (or (begin-deprecated (try-module-linked name))
+      (try-module-autoload name)
+      (begin-deprecated (try-module-dynamic-link name))))
 
 (define (purify-module! module)
   "Removes bindings in MODULE which are inherited from the (guile) module."