Variable: ghostel-pre-spawn-hook
ghostel-pre-spawn-hook is a customizable variable defined in
ghostel.el.
Value
nil
Documentation
Hook run just before spawning a new terminal process.
Each function is called with no arguments in the buffer that will
host the new process. process-environment is dynamically bound
to the env that will be passed to the child, so hook functions can
inject or override entries with setenv and the spawned process
inherits them.
Use this hook for one-time pre-spawn setup; see ghostel-environment
for static env entries that don't depend on runtime state.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-pre-spawn-hook nil
"Hook run just before spawning a new terminal process.
Each function is called with no arguments in the buffer that will
host the new process. `process-environment' is dynamically bound
to the env that will be passed to the child, so hook functions can
inject or override entries with `setenv' and the spawned process
inherits them.
Use this hook for one-time pre-spawn setup; see `ghostel-environment'
for static env entries that don't depend on runtime state."
:type 'hook)