Skip to content

Commit 85e5b7c

Browse files
committed
Replaced uses of shen-cl.exit with cl.exit
1 parent 3b48116 commit 85e5b7c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
1313
- `LOAD-SHEN` that loads Shen code from Lisp.
1414
- `:SHEN` package where Shen code is defined by default.
1515
- `-r`/`--repl` option to force running REPL even if other options would prevent REPL from running.
16-
- `cl.exit` (c.f. `shen-cl.exit`) as it is CL-specific function and not shen-cl-specific function.
16+
- `cl.exit` (cf. `shen-cl.exit`) as it is CL-specific function and not shen-cl-specific function.
1717

1818
### Changed
1919
- `absvector?` no longer returns `true` for strings.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The `Makefile` automates all build and test operations.
5757

5858
An executable is generated for each platform in its platform-specific output directory under `bin/` (e.g. `bin/sbcl/shen.exe`). Per typical naming conventions, it is named `shen.exe` on Windows systems and just `shen` on Unix-based systems.
5959

60-
Startup scripts can be specified on the command line by preceding them with a `-l` flag. If any startup scripts are specified this way, they will be loaded in order and then `(cl.exit 0)` will be called. If none are, the Shen REPL will start as usual. Either way, all command line arguments will be accessible with `(value *argv*)`.
60+
Startup scripts can be specified on the command line by preceding them with a `-l` flag. If any startup scripts are specified this way, they will be loaded in order and then `(cl.exit)` will be called. If none are, the Shen REPL will start as usual. Either way, all command line arguments will be accessible with `(value *argv*)`.
6161

6262
When starting Shen via `make`, command line arguments can be passed through like this: `make run-sbcl Args="-l bootstrap.shen -e (run)"`.
6363

src/primitives.lsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
(shen-cl.interpret-args Args)
385385
(IF (shen-cl.start-repl? Args)
386386
(shen.shen)
387-
(shen-cl.exit 0))))))
387+
(cl.exit 0))))))
388388

389389
#+CCL
390390
(HANDLER-BIND
@@ -394,15 +394,15 @@
394394
(shen-cl.interpret-args Args)
395395
(IF (shen-cl.start-repl? Args)
396396
(shen.shen)
397-
(shen-cl.exit 0))))
397+
(cl.exit 0))))
398398

399399
#+ECL
400400
(LET ((Args (CDR (SI:COMMAND-ARGS))))
401401
(SETQ *argv* Args)
402402
(shen-cl.interpret-args Args)
403403
(IF (shen-cl.start-repl? Args)
404404
(shen.shen)
405-
(shen-cl.exit 0)))
405+
(cl.exit 0)))
406406

407407
#+SBCL
408408
(LET ((Args (CDR SB-EXT:*POSIX-ARGV*)))
@@ -411,5 +411,5 @@
411411
(IF (shen-cl.start-repl? Args)
412412
(HANDLER-CASE (shen.shen)
413413
(SB-SYS:INTERACTIVE-INTERRUPT ()
414-
(shen-cl.exit 0)))
415-
(shen-cl.exit 0)))))
414+
(cl.exit 0)))
415+
(cl.exit 0)))))

0 commit comments

Comments
 (0)