forked from colonelpanic/dotfiles
[Emacs] Add after-save-hook to make files execable
This commit is contained in:
parent
db79185d79
commit
b7a317cfab
@ -1034,6 +1034,10 @@ proced is an top like utility that runs inside of emacs. The following sets auto
|
||||
(setq browse-url-browser-function 'browse-url-generic
|
||||
browse-url-generic-program "google-chrome-stable"))
|
||||
#+END_SRC
|
||||
** Make files executable
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
|
||||
#+END_SRC
|
||||
** Misc
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defvar iedit-toggle-key-default nil)
|
||||
|
Loading…
Reference in New Issue
Block a user