Variable: apheleia-formatter-exited-hook
apheleia-formatter-exited-hook is a customizable variable defined in
apheleia-formatters.el.
Value
nil
Documentation
Abnormal hook run after a formatter has finished running.
Must accept arbitrary keyword arguments. The following arguments are defined at present:
:formatter - The symbol for the formatter that was run.
:error - Non-nil if the formatter failed, nil if it succeeded.
:log - The log buffer for that formatter, or nil if there is
none (e.g., because logging is not enabled).
This hook is run before apheleia-after-format-hook, and may be
run multiple times if apheleia-mode-alist configures multiple
formatters to run in a chain, with one run per formatter.
Source Code
;; Defined in /nix/store/lwcwryzabcmvjcwwzzs65jrwf7p7d7cs-emacs-packages-deps/share/emacs/site-lisp/elpa/apheleia-20260915.1628/apheleia-formatters.el
(defcustom apheleia-formatter-exited-hook nil
"Abnormal hook run after a formatter has finished running.
Must accept arbitrary keyword arguments. The following arguments
are defined at present:
`:formatter' - The symbol for the formatter that was run.
`:error' - Non-nil if the formatter failed, nil if it succeeded.
`:log' - The log buffer for that formatter, or nil if there is
none (e.g., because logging is not enabled).
This hook is run before `apheleia-after-format-hook', and may be
run multiple times if `apheleia-mode-alist' configures multiple
formatters to run in a chain, with one run per formatter."
:type 'hook
:group 'apheleia)