about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-04-02 13:28:30 -0500
committerCase Duckworth2021-04-02 13:28:30 -0500
commitb0edf26ce65743e7ece37f2b1f62e8e9e10c5240 (patch)
tree2729024fb16a71fbc6975e81db8f3bf8a2e4a147 /init.el
parentAdd `defun-with-hooks' (diff)
downloademacs-b0edf26ce65743e7ece37f2b1f62e8e9e10c5240.tar.gz
emacs-b0edf26ce65743e7ece37f2b1f62e8e9e10c5240.zip
Hook `executable-make-buffer-file-executable-if-script-p'
The worst-named function ... of all time.
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el index 5d900ce..8abd171 100644 --- a/init.el +++ b/init.el
@@ -168,6 +168,8 @@
168 version-control t 168 version-control t
169 vc-make-backup-files t) 169 vc-make-backup-files t)
170 170
171(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
172
171;;;;; Auto-save files 173;;;;; Auto-save files
172(auto-save-visited-mode +1) 174(auto-save-visited-mode +1)
173;; And /actually/ save all buffers when unfocused 175;; And /actually/ save all buffers when unfocused