The register-autoloads function recursively traverses the directory structure starting at the specified argument and reads in any index files it finds. Currently this code is included in pathname.lsp . The path returned does not have an added extension. If no file is found, NIL is returned. The index file should contain a provide for the module.
Loading is done by calling the load function on the path.
This allows the standard load code to examine modification dates and determine whether a .lsp or a .fsl file should be loaded if both are present and the path does not specify an extension. This is to maintain backwards compatibility with the previous definition of require . This code is included in common.lsp in place of the previous definition of require . At present the index files for autoloading need to be prepared manually. It should be possible to modify the compile-file top level to attempt to generate these files automatically.