Variable: tex-shell-hook
tex-shell-hook is a variable defined in tex-mode.el.gz.
Value
nil
Documentation
Hook run after entering tex-shell.
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
;; The utility functions:
(define-derived-mode tex-shell shell-mode "TeX-Shell"
(setq-local compilation-error-regexp-alist tex-error-regexp-alist)
(compilation-shell-minor-mode t))