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.

--
Greetings

  Pete

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




_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to