Function: compilation-minor-mode
compilation-minor-mode is an autoloaded, interactive and byte-compiled
function defined in compile.el.gz.
Signature
(compilation-minor-mode &optional ARG)
Documentation
Toggle Compilation minor mode.
When Compilation minor mode is enabled, all the error-parsing
commands of Compilation major mode are available. See
compilation-mode.
This is a minor mode. If called interactively, toggle the
Compilation minor mode mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable
the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate compilation-minor-mode(var)/compilation-minor-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
Probably introduced at or before Emacs version 19.24.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
;;;###autoload
(define-minor-mode compilation-minor-mode
"Toggle Compilation minor mode.
When Compilation minor mode is enabled, all the error-parsing
commands of Compilation major mode are available. See
`compilation-mode'."
:lighter " Compilation"
(if compilation-minor-mode
(compilation-setup t)
(compilation--unsetup)))