Skip to content

Commit

Permalink
Evaluate command line options in package CL-USER
Browse files Browse the repository at this point in the history
When they're evaluated in the COMMON-LISP package, issues arise when
anything tries to intern a symbol. This happens on at least CLISP and
ECL. COMMON-LISP-USER is the canonical package for user-specified
expressions to be evaluated, and should be used instead.
  • Loading branch information
jorams committed Oct 1, 2015
1 parent 1c15cea commit 545d2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/script.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
(write-line *help* ))
(t
(unless (opt :no-init) (load (cim_home "/init.lisp") :verbose nil :print nil))
(in-package :cl)
(in-package :cl-user)
(handler-case
(dolist (sexp (nreverse cim::sexps))
(eval sexp))
Expand Down

0 comments on commit 545d2be

Please sign in to comment.