The settungs in the .dir-locals.el do not work well for every emacs setup: Add .dir-locals.el to the git-ignore list and move content to a template file. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>