We Recommend

Beginning AppleScript (Programmer to Programmer) Beginning AppleScript (Programmer to Programmer)
Geared toward programmers with no prior development knowledge, Beginning AppleScript serves as a comprehensive guide to using AppleScript on the Mac OS X platform. This title introduces the reader to AppleScript, and then illustrates how to efficiently start writing scripts through sample programs as each concept is introduced.


Posted By

noah on 06/02/07


Tagged

time emacs utilities


Versions (?)


Time-stamp configuration


Published in: Emacs Lisp 


Turn on time-stamp updating, set the format of the time stamp.


  1. ;;;Turn on time-stamp updating. Timestamp must be in first 8 lines of file and look like:
  2. ;;; Time-stamp: <>
  3. (add-hook 'write-file-hooks 'time-stamp)
  4.  
  5. ;;;;;;;;;;;;;;;;;;;;;;;;;
  6. (setq time-stamp-format ; format of the stamp
  7. ;;use describe-variable for info
  8. "[%f] modified by Noah Sussman on %:a, %:y.%02m.%02d at %02H : %02M : %02S on %s"
  9. time-stamp-active t ; update timestamps
  10. time-stamp-warn-inactive t) ; warn if unable

Report this snippet 

You need to login to post a comment.