- Put a call to
provide
at the end of each separate Lisp file.
provide
andrequire
are an alternative toautoload
for loading files automatically. They work in terms of named features. Autoloading is triggered by calling a specific function, but a feature is loaded the first time another program asks for it by name.
Use of require
ensures that the file will only be loaded once.
Emacs Lisp files are searched from the load path.