New answers tagged

3

Emacs has a built-in package time-stamp for this scenario. (add-hook 'before-save-hook #'time-stamp) ; the eponymous function that does the work. (with-eval-after-load 'time-stamp (setq time-stamp-format "%Y-%02m-%02d %02H:%02M:%02S") (setq time-stamp-start "^date-of-update: ") (setq time-stamp-end "$") (setq time-stamp-...


Top 50 recent answers are included