X-Git-Url: https://git.distorted.org.uk/~mdw/lisp/blobdiff_plain/e5152ebe572654951e849ba89d2c8ba4d4223e80..fe0f07ea19b36ce1abc1ec305d0203323cbf2316:/sys-base.lisp diff --git a/sys-base.lisp b/sys-base.lisp index ede099a..83f06f2 100644 --- a/sys-base.lisp +++ b/sys-base.lisp @@ -26,6 +26,7 @@ (defpackage #:runlisp (:use #:common-lisp) (:export #:*lisp-interpreter* #:*command-line-strings* #:run)) +(defvar runlisp:*command-line-strings* '("")) (defpackage #:mdw.sys-base (:use #:common-lisp #:runlisp) @@ -45,7 +46,7 @@ (defun exit (&optional (code 0)) "Polite way to end a program. If running in an interactive Lisp, just return to the top-level REPL." - (if (boundp '*command-line-strings*) + (if (boundp '*lisp-interpreter*) #+(or cmu ecl) (ext:quit code) (progn (unless (zerop code)