Variable: compilation-exit-message-function

compilation-exit-message-function is a variable defined in compile.el.gz.

Value

#[771 "\211B\207"
      []
      5 "\n\n(fn PROCESS-STATUS EXIT-STATUS MSG)"]

Documentation

If non-nil, called when a compilation process dies to return a status message.

This should be a function of three arguments: process status, exit status, and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to write into the compilation buffer, and to put in its mode line.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defvar compilation-exit-message-function
  (lambda (_process-status exit-status msg) (cons msg exit-status))
  "If non-nil, called when a compilation process dies to return a status message.
This should be a function of three arguments: process status, exit status,
and exit message; it returns a cons (MESSAGE . MODELINE) of the strings to
write into the compilation buffer, and to put in its mode line.")