[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/magit fbcd6d67a6 2/2: git-commit-setup: Cosmetics
From: |
Jonas Bernoulli |
Subject: |
[nongnu] elpa/magit fbcd6d67a6 2/2: git-commit-setup: Cosmetics |
Date: |
Fri, 30 Aug 2024 17:34:18 -0400 (EDT) |
branch: elpa/magit
commit fbcd6d67a637f03f8b48291fa7fe2c78488ca9d3
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
git-commit-setup: Cosmetics
---
lisp/git-commit.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lisp/git-commit.el b/lisp/git-commit.el
index c063fb19f6..308e9c7513 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))