bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs local variables sections in files; time-stamping


From: Glenn Morris
Subject: Re: Emacs local variables sections in files; time-stamping
Date: Tue, 22 Feb 2011 19:38:01 -0500

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

[Prev in Thread] Current Thread [Next in Thread]