cleanup the hooks including proper naming (defhook will create a nice name for it)
try to make the writing for dir-locals silent
now the generation of dir-locals is silent
removed commented code