hack-dir-local-variables

hack-dir-local-variables is a compiled Lisp function in `files.el'.

(hack-dir-local-variables)

Read per-directory local variables for the current buffer.
Store the directory-local variables in `dir-local-variables-alist'
and `file-local-variables-alist', without applying them.

This does nothing if either `enable-local-variables' or
`enable-dir-local-variables' are nil.