How to I add/edit the module search path?
The default is "/usr/share/newlisp/modules/csv.lsp"
module search path
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Re: module search path
I think you can re-define module like this:
More complicated actions could be added - eg look in HOME first, then NEWLISPDIR...
Code: Select all
(define (module $x)
(load (append (env "HOME") "/my-newlisp-modules/" $x)))