diff options
author | jao <jao@gnu.org> | 2021-10-01 18:40:46 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-10-01 18:40:46 +0100 |
commit | 3b4761074d0d513ff1c262d30da003f753ef4c7a (patch) | |
tree | 8a36028a27334aafb7e3011eeed15774e3f3b41d | |
parent | 83175bbd5effb7ef92d22274ca050fdb86e86059 (diff) | |
download | elibs-3b4761074d0d513ff1c262d30da003f753ef4c7a.tar.gz elibs-3b4761074d0d513ff1c262d30da003f753ef4c7a.tar.bz2 |
trick for executable scripts on save
-rw-r--r-- | init.org | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -854,6 +854,11 @@ :bind (:map dired-mode-map (")" . dired-git-info-mode))) #+END_SRC * General editing +*** Executable scripts + #+begin_src emacs-lisp + (add-hook 'after-save-hook + 'executable-make-buffer-file-executable-if-script-p) + #+end_src *** eldoc #+begin_src emacs-lisp (use-package eldoc |