branch: elpa/git-commit commit 61450cf56bf5a63f354540f510569c26762cd1c0 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
manual: Fix pasto Closes #4672. --- docs/magit.org | 3 +-- docs/magit.texi | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/magit.org b/docs/magit.org index 9d72725cf1..ed7dfb8ed0 100644 --- a/docs/magit.org +++ b/docs/magit.org @@ -4778,7 +4778,6 @@ to setup the buffer, except for the key bindings. All other setup happens in the function ~git-commit-setup~, which among other things runs the hook ~git-commit-setup-hook~. - - User Option: git-commit-setup-hook :: Hook run at the end of ~git-commit-setup~. @@ -4822,7 +4821,7 @@ The following functions are suitable for this hook: Show usage information in the echo area. -- User Option: git-commit-setup-hook :: +- User Option: git-commit-post-finish-hook :: Hook run after the user finished writing a commit message. diff --git a/docs/magit.texi b/docs/magit.texi index 62e516f59f..86dbf3e154 100644 --- a/docs/magit.texi +++ b/docs/magit.texi @@ -5938,7 +5938,6 @@ to setup the buffer, except for the key bindings. All other setup happens in the function @code{git-commit-setup}, which among other things runs the hook @code{git-commit-setup-hook}. - @defopt git-commit-setup-hook Hook run at the end of @code{git-commit-setup}. @end defopt @@ -5982,7 +5981,7 @@ Hyperlink bug references in the buffer. Show usage information in the echo area. @end defun -@defopt git-commit-setup-hook +@defopt git-commit-post-finish-hook Hook run after the user finished writing a commit message. This hook is only run after pressing @code{C-c C-c} in a buffer used to