Jeffery Zhang <email@example.com> wrote:
| Suppose I wrote a macro and saved it in ~/macro.lisp and I would like
| to load this file (macro) into the lisp environment everytime I start
| lisp. How would I do this?
It depends on the implementation [and what follows is oversimplified],
but almost all of them provide some sort of "rc" initialization file
you can put in your home directory that will be automatically loaded
on startup, e.g.:
Then in that file you can put a (LOAD "home:macro.lisp")
[or however your implementation represents a path to $HOME/].
Rob Warnock <firstname.lastname@example.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607