Glenn Morris wrote (on Tue, 22 Feb 2011 at 19:29 -0500):

> With regards to dir-locals, I think you can do it using a file containing:
> 
>   ((nil . ((eval . (add-hook 'before-save-hook 'time-stamp)))))

And you could of course put the other settings in there, which ought
to make things much tidier:

((nil . ((eval . (add-hook 'before-save-hook 'time-stamp))
         (time-stamp-start . "scriptversion=")
         (time-stamp-format ."%:y-%02m-%02d.%02H")
         ...
         )))

etc.

Reply via email to