Next: , Previous: , Up: Component library setup   [Contents][Index]


5.15.1.2 component-library-search

The function component-library-search is similar to component-library as it also defines a component resource from a directory on disk. However, it adds all the directories in it recursively as a tree of several component resources. This approach is good when you don’t want to list each separate subdirectory in the root directory. But then you won’t be able to specify unique names for the subdirectories.

The usage is as follows:

(component-library-search path)

or

(component-library-search path prefix)

Here path is a root directory from which you want to make a tree of component resources. If optional prefix is specified, it will be prepended to the names of the new libraries.