diff options
author | Tom Willemse | 2019-01-28 02:05:29 -0800 |
---|---|---|
committer | Tom Willemse | 2019-01-28 02:05:29 -0800 |
commit | 50e3c0613bc2f2816a7a07c27820a8f2984a84f8 (patch) | |
tree | 2c6f3f514e23a46279ab404b4839740c7fb79ad4 /emacs/.emacs.d/init.el | |
parent | ec69a2939419a180d30fdca3dfec59be51ac358f (diff) | |
download | new-dotfiles-50e3c0613bc2f2816a7a07c27820a8f2984a84f8.tar.gz new-dotfiles-50e3c0613bc2f2816a7a07c27820a8f2984a84f8.zip |
Write the time stamp for files before saving
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r-- | emacs/.emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |