Variable: log-edit-done-hook

log-edit-done-hook is a customizable variable defined in log-edit.el.gz.

Value

nil

Documentation

Hook run before doing the actual commit.

This hook can be used to cleanup the message, enforce various conventions, or to allow recording the message in some other database, such as a bug-tracking system. The list of files about to be committed can be obtained from log-edit-files.

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/log-edit.el.gz
(defcustom log-edit-done-hook nil
  "Hook run before doing the actual commit.
This hook can be used to cleanup the message, enforce various
conventions, or to allow recording the message in some other database,
such as a bug-tracking system.  The list of files about to be committed
can be obtained from `log-edit-files'."
  :group 'log-edit
  :type '(hook :options (log-edit-set-common-indentation
                         log-edit-add-to-changelog
                         log-edit-done-strip-cvs-lines)))