emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Allowing .dir-locals-N.el


From: Artur Malabarba
Subject: Allowing .dir-locals-N.el
Date: Wed, 4 Nov 2015 13:58:31 +0000

Hi All,

I'd like to implement support for additional .dir-locals.el files.

This is very useful in VCS repositories, where the main .dir-locals.el
file is usually under version control. In this situation it's usually
not good for every single contributor to stick their own variables
inside .dir-locals.el.

With this feature, you can have additional files called
.dir-locals-1.el, .dir-locals-2.el, etc... and these will be read for
local variables as well.

I can hardcode a single filename (like .dir-locals-extra.el) or make
it a regexp like "\\.dir-locals-[0-9]+\\.el", whatever people prefer.


Cheers,
Artur



reply via email to

[Prev in Thread] Current Thread [Next in Thread]