emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit ada7b21fcc: magit-post-commit-hook: Fix variabl


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit ada7b21fcc: magit-post-commit-hook: Fix variable reference in docs
Date: Sun, 25 Sep 2022 20:58:32 -0400 (EDT)

branch: elpa/git-commit
commit ada7b21fcc90004d7ac1c5a42c0750e12c2a5ef8
Author: Kyle Meyer <kyle@kyleam.com>
Commit: Kyle Meyer <kyle@kyleam.com>

    magit-post-commit-hook: Fix variable reference in docs
---
 docs/magit.org       | 2 +-
 docs/magit.texi      | 2 +-
 lisp/magit-commit.el | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/magit.org b/docs/magit.org
index d7d1bb9cfc..3f3ad08c9a 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -4625,7 +4625,7 @@ Also see [[man:git-commit]]
   Hook run after creating a commit without the user editing a message.
 
   This hook is run by ~magit-refresh~ if ~this-command~ is a member
-  of ~magit-post-stage-hook-commands~.  This only includes commands
+  of ~magit-post-commit-hook-commands~.  This only includes commands
   named ~magit-commit-*~ that do *not* require that the user edits
   the commit message in a buffer.
 
diff --git a/docs/magit.texi b/docs/magit.texi
index ffb1d3d443..654c1a8479 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -5747,7 +5747,7 @@ those is harder to recover from.
 Hook run after creating a commit without the user editing a message.
 
 This hook is run by @code{magit-refresh} if @code{this-command} is a member
-of @code{magit-post-stage-hook-commands}.  This only includes commands
+of @code{magit-post-commit-hook-commands}.  This only includes commands
 named @code{magit-commit-*} that do @strong{not} require that the user edits
 the commit message in a buffer.
 
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el
index fef4eaf2f4..800922164b 100644
--- a/lisp/magit-commit.el
+++ b/lisp/magit-commit.el
@@ -75,7 +75,7 @@ an error while using those is harder to recover from."
   "Hook run after creating a commit without the user editing a message.
 
 This hook is run by `magit-refresh' if `this-command' is a member
-of `magit-post-stage-hook-commands'.  This only includes commands
+of `magit-post-commit-hook-commands'.  This only includes commands
 named `magit-commit-*' that do *not* require that the user edits
 the commit message in a buffer and then finishes by pressing
 \\<with-editor-mode-map>\\[with-editor-finish].



reply via email to

[Prev in Thread] Current Thread [Next in Thread]