diff options
author | Oscar Najera <hi@oscarnajera.com> | 2024-04-15 10:59:58 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2024-04-15 10:59:58 +0200 |
commit | 6ab56c022056a6f8468973f3fd9266d8e63a80f5 (patch) | |
tree | ceffe1fc6c86fec496275d2d2c2154c458ba4f1b /config/doom | |
parent | eaa932a7a6537bc5237a6017dc75f13d2ad3cef6 (diff) | |
download | dotfiles-6ab56c022056a6f8468973f3fd9266d8e63a80f5.tar.gz dotfiles-6ab56c022056a6f8468973f3fd9266d8e63a80f5.tar.bz2 dotfiles-6ab56c022056a6f8468973f3fd9266d8e63a80f5.zip |
save after hook - executable scripts
Diffstat (limited to 'config/doom')
-rw-r--r-- | config/doom/config.org | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 32ffa5a..577f1f9 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -104,6 +104,9 @@ Because I always need help and it should come up quickly (emacs-lisp-mode) (display-buffer (current-buffer)))) #+end_src +#+begin_src emacs-lisp + (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) +#+end_src * Dictionary #+begin_src emacs-lisp :tangle "packages.el" (package! lexic) |