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:
parent
b36b9aa63d
commit
c5e88e21bc
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||||
|
|
Loading…
Reference in a new issue