Variable: compilation-shell-minor-mode-hook

compilation-shell-minor-mode-hook is a customizable variable defined in compile.el.gz.

Value

nil

Documentation

Hook run after entering or leaving compilation-shell-minor-mode(var)/compilation-shell-minor-mode(fun).

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/progmodes/compile.el.gz
;;;###autoload
(define-minor-mode compilation-shell-minor-mode
  "Toggle Compilation Shell minor mode.

When Compilation Shell minor mode is enabled, all the
error-parsing commands of the Compilation major mode are
available but bound to keys that don't collide with Shell mode.
See `compilation-mode'."
  :lighter " Shell-Compile"
  (if compilation-shell-minor-mode
      (compilation-setup t)
    (compilation--unsetup)))