From d11ae98a19cb58ddbf4451bfccfa80f94f57194f Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Thu, 17 Jul 2025 01:05:51 +0300 Subject: emacs: time-stamp is a safe save-hook --- emacs/.config/emacs/shared/custom.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.config/emacs/shared/custom.el b/emacs/.config/emacs/shared/custom.el index 5596e47..e231691 100644 --- a/emacs/.config/emacs/shared/custom.el +++ b/emacs/.config/emacs/shared/custom.el @@ -6,7 +6,8 @@ '(custom-safe-themes '("fbf73690320aa26f8daffdd1210ef234ed1b0c59f3d001f342b9c0bbf49f531c" default)) '(safe-local-variable-values - '((buffer-file-coding-system . utf-8-unix) + '((eval add-hook 'before-save-hook 'time-stamp) + (buffer-file-coding-system . utf-8-unix) (buffer-file-coding-system . cp437-dos)))) (custom-set-faces ;; custom-set-faces was added by Custom. -- cgit v1.2.3