Commit 78118124 authored by Jonas Bernoulli's avatar Jonas Bernoulli

git-commit-setup: Add to local value of with-editor-post-finish-hook

parent 9318812e
......@@ -496,7 +496,8 @@ This is only used if Magit is available."
'git-commit-save-message nil t)
(add-hook 'with-editor-pre-cancel-hook
'git-commit-save-message nil t)
(add-hook 'with-editor-post-finish-hook 'git-commit-run-post-finish-hook)
(add-hook 'with-editor-post-finish-hook
'git-commit-run-post-finish-hook nil t)
(when (fboundp 'magit-wip-maybe-add-commit-hook)
(magit-wip-maybe-add-commit-hook))
(setq with-editor-cancel-message
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment