Time-stamp configuration

;;;Turn on time-stamp updating.  Timestamp must be in first 8 lines of file and look like:
;;;                Time-stamp: <>
(add-hook 'write-file-hooks 'time-stamp)

;;;;;;;;;;;;;;;;;;;;;;;;;
(setq time-stamp-format                 ; format of the stamp
;;use describe-variable for info
"[%f] modified by Noah Sussman on %:a, %:y.%02m.%02d at %02H : %02M : %02S on %s"
time-stamp-active t               ; update timestamps
time-stamp-warn-inactive t)       ; warn if unable

source

Leave a Reply