Accept file names on the command line
This commit is contained in:
parent
0c559238da
commit
a512da0d7b
|
@ -19,9 +19,13 @@
|
||||||
(require racket/trace)
|
(require racket/trace)
|
||||||
(current-trace-notify (lambda (s) (log-info "TRACE: ~a" s)))
|
(current-trace-notify (lambda (s) (log-info "TRACE: ~a" s)))
|
||||||
(void
|
(void
|
||||||
(rmacs #:initial-files (list
|
(rmacs #:initial-files (match (current-command-line-arguments)
|
||||||
(build-path (collection-file-path "main.rkt" "rmacs")
|
['#()
|
||||||
'up 'up "doc" "xterm_controls.txt"))))
|
(list
|
||||||
|
(build-path (collection-file-path "main.rkt" "rmacs")
|
||||||
|
'up 'up "doc" "xterm_controls.txt"))]
|
||||||
|
[(vector files ...)
|
||||||
|
files])))
|
||||||
;; (require profile)
|
;; (require profile)
|
||||||
;; (require ansi)
|
;; (require ansi)
|
||||||
;; (void (profile-thunk (lambda () (begin0 (main)
|
;; (void (profile-thunk (lambda () (begin0 (main)
|
||||||
|
|
Loading…
Reference in New Issue