Contents of Directories A directory is a kind of file that contains other files entered under various names.
Directories are a feature of the file system.
Emacs can list the names of the files in a directory as a Lisp list, or display the names in a buffer using the ls shell command. In the latter case, it can optionally display information about each file, depending on the options passed to the ls command. This function returns a list of the names of the files in the directory directory . By default, the list is in alphabetical order. Otherwise, it returns the names relative to the specified directory.