From 6ab56c022056a6f8468973f3fd9266d8e63a80f5 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 15 Apr 2024 10:59:58 +0200 Subject: save after hook - executable scripts --- config/doom/config.org | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/doom') 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) -- cgit v1.2.3