executable-chmod

executable-chmod is a compiled Lisp function in `executable.el'.

(executable-chmod)

This gets called after saving a file to assure that it be executable.
You can set the absolute or relative mode in variable `executable-chmod' for
non-executable files.