Ok, that is added to the loading.texi patch. Also list-load-path-dir-locals-shadows was renamed to list-dir-locals-shadows. An argument PATH was added since it makes sense to run this on other directories than load-path. And the argument STRINGP was added to align with list-load-path-shadows. NEWS suggestion: ** `list-load-path-shadows' no longer reports .dir-locals.el files. A .dir-locals.el file may shadow another .dir-locals.el file but not in the same sense as in `list-load-path-shadows'. A new command `list-dir-locals-shadows' is introduced. It detect shadows of .dir-locals.el files in a way that make sense for this type of files. ChangeLog suggestion: * emacs-lisp/shadows.el (load-path-shadows-find): Do not report .dir-locals.el files. (list-dir-locals-shadows): New command that reports shadows of .dir-locals.el in a way that make sense for that type of file. (dir-locals-shadows-find, dir-locals-shadows-find-1) (dir-locals-class-name, dir-locals-shadows-display): Auxiliary functions for list-dir-locals-shadows. Regards, /Johan