diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2024-08-30 23:17:22 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-08-30 23:17:22 +0200 |
| commit | fbcd6d67a637f03f8b48291fa7fe2c78488ca9d3 (patch) | |
| tree | 7ebaa427fee2ab955215cb709d1079faf30d31fe /lisp/git-commit.el | |
| parent | 62bd96960858dfcbd30869e36d845f085821d49d (diff) | |
git-commit-setup: Cosmetics
Diffstat (limited to 'lisp/git-commit.el')
| -rw-r--r-- | lisp/git-commit.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/git-commit.el b/lisp/git-commit.el index c063fb1..308e9c7 100644 --- a/lisp/git-commit.el +++ b/lisp/git-commit.el @@ -629,10 +629,8 @@ Used as the local value of `header-line-format', in buffer using (with-editor-mode 1)) (add-hook 'with-editor-finish-query-functions #'git-commit-finish-query-functions nil t) - (add-hook 'with-editor-pre-finish-hook - #'git-commit-save-message nil t) - (add-hook 'with-editor-pre-cancel-hook - #'git-commit-save-message nil t) + (add-hook 'with-editor-pre-finish-hook #'git-commit-save-message nil t) + (add-hook 'with-editor-pre-cancel-hook #'git-commit-save-message nil t) (when (fboundp 'magit-commit--reset-command) (add-hook 'with-editor-post-finish-hook #'magit-commit--reset-command) (add-hook 'with-editor-post-cancel-hook #'magit-commit--reset-command)) |
