Variable: comint-exec-hook

comint-exec-hook is a customizable variable defined in comint.el.gz.

Value

nil

Documentation

Hook run each time a process is exec'd by comint-exec.

This is called after the process is cranked up. It is useful for things that must be done each time a process is executed in a Comint mode buffer (e.g., set-process-query-on-exit-flag). In contrast, comint-mode-hook is only executed once, when the buffer is created.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-exec-hook '()
  "Hook run each time a process is exec'd by `comint-exec'.
This is called after the process is cranked up.  It is useful for things that
must be done each time a process is executed in a Comint mode buffer (e.g.,
`set-process-query-on-exit-flag').  In contrast, `comint-mode-hook' is only
executed once, when the buffer is created."
  :type 'hook
  :group 'comint)