* lisp/files.el (dir-locals--all-files): New &optional 'base-el-only' argument. (dir-locals--base-file): New function. (dir-locals-find-file): 'locate-dominating-file' only for the base .dir-locals.el. * test/lisp/files-tests.el (files-test-dir-locals-2-solo): New test. * test/lisp/files-resources/dir-locals-2-solo: New test support. (files-test-dir-locals-2-paired): New test. * test/lisp/files-resources/dir-locals-and-2: New test support.
4 lines
121 B
Plaintext
4 lines
121 B
Plaintext
# Used by files-test.el.
|
|
# Due to solo .dir-locals-2.el, the local variable `dir-locals-2-loaded'
|
|
# should be undefined.
|