Variable: comint-indirect-setup-hook

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

Value

nil

Documentation

Hook run in an indirect buffer for input fontification.

Input fontification and indentation, if enabled, is performed in an indirect buffer, whose major mode and syntax highlighting are set up according to comint-indirect-setup-function. After this setup is done, run this hook with the indirect buffer as the current buffer. This can be used to further customize fontification and other behavior of the indirect buffer.

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

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defcustom comint-indirect-setup-hook nil
  "Hook run in an indirect buffer for input fontification.
Input fontification and indentation, if enabled, is performed in
an indirect buffer, whose major mode and syntax highlighting are
set up according to `comint-indirect-setup-function'.  After this
setup is done, run this hook with the indirect buffer as the
current buffer.  This can be used to further customize
fontification and other behavior of the indirect buffer."
  :group 'comint
  :type 'hook
  :version "29.1")