[Top][All Lists]

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

Re: automatic time-stamp

From: Peter Dyballa
Subject: Re: automatic time-stamp
Date: Wed, 4 May 2005 22:58:44 +0200

Am 04.05.2005 um 01:49 schrieb Jeffrey L. Greer:

I am trying to configure automatic time-stamp for emacs 21

For me this worked on a few platforms:

        (add-hook 'write-file-hooks 'time-stamp)

+ a customization like

         '(time-stamp-format "%:y-%02m-%02d %02H:%02M:%02S %u")

+ a manual addition to the file in its header like

        ;    Time-stamp: <2005-05-03 18:39:53 pete>

This gets updated whenever you save the file. time-stamp-active is t by default as defined in time-stamp.el.



We are usually convinced more easily by reasons we have found ourselves than by those which have occurred to others.
(Blaise Pascal)

reply via email to

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