executable-set-magic

executable-set-magic is an interactive autoloaded compiled Lisp function in `executable.el'.


(executable-set-magic INTERPRETER &optional ARGUMENT NO-QUERY-FLAG INSERT-FLAG)

Set this buffer's interpreter to INTERPRETER with optional ARGUMENT.
The variables `executable-magicless-file-regexp', `executable-prefix',
`executable-insert', `executable-query' and `executable-chmod' control
when and how magic numbers are inserted or replaced and scripts made
executable.