dir-locals-collect-mode-variables

dir-locals-collect-mode-variables is a compiled Lisp function in `files.el'.

(dir-locals-collect-mode-variables MODE-VARIABLES VARIABLES)

Collect directory-local variables from MODE-VARIABLES.
VARIABLES is the initial list of variables.
Returns the new list.