Call ‘time-stamp’ before saving the buffer

I’m trying out a new system of maintaining my Emacs configuration,
which entails making a bunch of custom libraries. The version for
these libraries should be exactly the time stamp from when they were
saved, so they always update properly.
This commit is contained in:
Tom Willemse 2019-01-17 01:51:47 -08:00
parent b36b9aa63d
commit c5e88e21bc

View file

@ -317,6 +317,8 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
(add-hook 'html-mode-hook 'electric-pair-local-mode) (add-hook 'html-mode-hook 'electric-pair-local-mode)
(add-hook 'before-save-hook 'time-stamp)
(add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json")) (add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json"))
(add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss")) (add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss"))
(add-to-list 'grep-files-aliases '("php" . "*.php *.inc *.module")) (add-to-list 'grep-files-aliases '("php" . "*.php *.inc *.module"))