ARGUMENT-COMMAND-LINE-PARSER and export them to global.
#| -*-Scheme-*-
-$Id: load.scm,v 14.52 1999/05/11 20:30:16 cph Exp $
+$Id: load.scm,v 14.53 1999/05/11 20:35:15 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(define *load-init-file?*)
(define (default/process-command-line unused-command-line)
- (let ((after-parsing-actions
- (list (lambda ()
- (if *load-init-file?*
- (load-init-file))))))
+ (let ((after-parsing-actions '()))
(define (process-keyword command-line unused-options)
(if (not (null? command-line))
(set! *unused-command-line*
(process-keyword (vector->list unused-command-line) '()))
(for-each (lambda (act) (act))
- (reverse after-parsing-actions)))))))
+ (reverse after-parsing-actions))
+ (if *load-init-file?* (load-init-file)))))))
(define (load-init-file)
(let ((pathname (init-file-pathname)))
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.326 1999/05/08 02:23:36 cph Exp $
+$Id: runtime.pkg,v 14.327 1999/05/11 20:30:37 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(files "load")
(parent ())
(export ()
+ argument-command-line-parser
condition-type:not-loading
current-load-pathname
fasload
load/push-hook!
load/suppress-loading-message?
read-file
- set-command-line-parser!)
+ set-command-line-parser!
+ simple-command-line-parser)
(initialization (initialize-package!)))
(define-package (runtime macros)
#| -*-Scheme-*-
-$Id: load.scm,v 14.55 1999/05/11 20:30:21 cph Exp $
+$Id: load.scm,v 14.56 1999/05/11 20:35:10 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(define *load-init-file?*)
(define (default/process-command-line unused-command-line)
- (let ((after-parsing-actions
- (list (lambda ()
- (if *load-init-file?*
- (load-init-file))))))
+ (let ((after-parsing-actions '()))
(define (process-keyword command-line unused-options)
(if (not (null? command-line))
(set! *unused-command-line*
(process-keyword (vector->list unused-command-line) '()))
(for-each (lambda (act) (act))
- (reverse after-parsing-actions)))))))
+ (reverse after-parsing-actions))
+ (if *load-init-file?* (load-init-file)))))))
(define (load-init-file)
(let ((pathname (init-file-pathname)))
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.331 1999/05/08 02:23:31 cph Exp $
+$Id: runtime.pkg,v 14.332 1999/05/11 20:30:29 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(files "load")
(parent ())
(export ()
+ argument-command-line-parser
condition-type:not-loading
current-load-pathname
fasload
load/push-hook!
load/suppress-loading-message?
read-file
- set-command-line-parser!)
+ set-command-line-parser!
+ simple-command-line-parser)
(initialization (initialize-package!)))
(define-package (runtime macros)