On 20 August 2018 at 18:43, Marc-André Lureau <marcandre.lur...@redhat.com> wrote: > Some time ago, I proposed to use an (eval) in .dir-locals.el to set > the mode for all json files and Makefile. Unfortunately, this isn't > safe, and emacs will prompt the user, which isn't very friendly. > > Fortunately, editorconfig provides a special config key which does > allow to set the emacs mode. Set the emacs mode for JSON, GLSL and > extra makefiles that are not yet covered. Drop modeline from JSON > files.
Does emacs apply info from the the editorconfig file by default, though? thanks -- PMM