dir-locals-read-from-file

dir-locals-read-from-file is a compiled Lisp function in `files.el'.

(dir-locals-read-from-file FILE)

Load a variables FILE and register a new class and instance.
FILE is the name of the file holding the variables to apply.
The new class name is the same as the directory in which FILE
is found. Returns the new class name.