Is it possible to load .dir-locals.el
file without prompting me, but also without adding values I am configuring in that file to my init.el
in custom-set-variables
? The reason I want it is that that file contains some sensitive data and I have a habit to share my init.el
, so I want it to just load. I understand that in general .dir-locals.el
might contain inappropriate code that I should not evaluate. So I was thinking that probably there is something like whitelist of .dir-locals.el
.
Update
In general what I want to achieve is to have 'project'-wide emacs configurations file that is loaded without any additional hassle. So if it's not possible with .dir-locals.el
- I am open to other solutions :D