From 50e3c0613bc2f2816a7a07c27820a8f2984a84f8 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 28 Jan 2019 02:05:29 -0800 Subject: Write the time stamp for files before saving --- emacs/.emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index cf8b4c3..ef82f57 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -310,6 +310,8 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified" (add-to-list 'grep-files-aliases '("php" . "*.php *.inc *.module")) (add-to-list 'grep-files-aliases '("msbuild" . "*.targets *.proj")) +(add-hook 'before-save-hook 'time-stamp) + (if (eq system-type 'windows-nt) (require 'oni-windows-nt)) -- cgit v1.2.3-54-g00ecf