Commit 1ef013d6a7d8
Changed files (1)
tools
emacs
config
tools/emacs/config/config-editing.el
@@ -1,4 +1,5 @@
;;; config-editing.el --- -*- lexical-binding: t; -*-
+;; Time-stamp: <Last changed 2025-05-07 22:55:12 by vincent>
;;; Commentary:
;;; Editing configuration
;;; Code:
@@ -151,5 +152,13 @@ Else toggle the comment status of the line at point."
reb-lisp-mode-map ("C-o" . casual-re-builder-tmenu))
:after (re-builder))
+(use-package time-stamp
+ :custom
+ (time-stamp-active t)
+ (time-stamp-line-limit 10) ; Check first 10 buffer lines for Time-stamp: <>
+ (time-stamp-format "Last changed %Y-%02m-%02d %02H:%02M:%02S by %u")
+ :hook
+ (before-save . time-stamp))
+
(provide 'config-editing)
;;; config-editing.el ends here