Variable: executable-prefix-env

executable-prefix-env is a customizable variable defined in executable.el.gz.

Value

nil

Documentation

If non-nil, use "/usr/bin/env" in interpreter magic number.

If this variable is non-nil, the interpreter magic number inserted by executable-set-magic will be "#!/usr/bin/env INTERPRETER", otherwise it will be "#!/path/to/INTERPRETER".

This variable was added, or its default value changed, in Emacs 26.1.

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/executable.el.gz
(defcustom executable-prefix-env nil
  "If non-nil, use \"/usr/bin/env\" in interpreter magic number.
If this variable is non-nil, the interpreter magic number inserted
by `executable-set-magic' will be \"#!/usr/bin/env INTERPRETER\",
otherwise it will be \"#!/path/to/INTERPRETER\"."
  :version "26.1"
  :type 'boolean)