Subject: bug#17489: 24.3; Major mode spec in .dir-locals.el breaks dired

From: Glenn Morris <[email-masked]>
Date: Wed, 14 May 2014 13:31:11 -0400

It's useful for dir-locals to apply to some buffers not visiting files.
It's not just dired, it's some VC buffers as well, etc, IIRC.

I believe this issue reduces to a duplicate of

http://debbugs.gnu.org/13685