Variable: compilation-exit-message-function

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

Value

#[771 "\211B\207" [] 5
      ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/progmodes/compile.elc"
       . 25780)]

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.")