dot/lisp-init.lisp: Explain why the shebang support is there.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 10 Jul 2020 19:33:33 +0000 (20:33 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 03:34:42 +0000 (04:34 +0100)
I nearly deleted it thinking it was useless and then realized what its
actual purpose was.

dot/lisp-init.lisp

index 6df03e8..2d8bb9e 100644 (file)
   (push (lambda () (readline:write-history *history-file*))
        custom:*fini-hooks*))
 
-;; Shebang.
+;; Don't choke on shebang lines.  This isn't here so that we can run Lisp
+;; scripts like proper Unix programs: `cl-launch' or `runlisp' do that.  It's
+;; here so that we can `load' a script into a running Lisp without it choking
+;; on the shebang.
 (set-dispatch-macro-character
  #\# #\!
  (lambda (stream char arg)