I am working on a project that includes some configuration in
((c++-mode . ((compile-command . "cd ../../\; ./build.sh"))))
This gets picked up just fine for me and sets the compile command. A teammate's emacs doesn't seem to recognize the file.
.dir-locals.el is present, but doesn't set the compile command (still defaults to
(dir-locals-find-file "Foo.h") in
.../project/src on my system (which is the folder where
.dir-locals.el is located), but returns
nil for the teammate.
How do I troubleshoot this? Everything I can find in the documentation seems to assume that
.dir-locals.el will get picked up if it's present.