In many of my projects I use
.dir-locals.el files to setup project specific variables such as compile commands. Upon opening a file within a directory containing such a file,
emacs complains about "risky local variables", specifically:
The local variables list in $DIR$/ contains variables that are risky (**)
Do you want to apply it? You can type
y -- to apply the local variables list.
n -- to ignore the local variables list.
** LaTeX-command : "lualatex -shell-escape"
I don't want to turn this feature off but I would like to be asked only once (during an emacs session) for a specific
I am using some plugins which want to parse the whole sourcetree and it is quite annoying to hit
y hundreds of times just to parse everything.
So, the actual question:
emacs' local-variable loading mechanism be configure / modified such that it allows to allow / deny loading of a specific local variables list for the entirety of an