From fbcd6d67a637f03f8b48291fa7fe2c78488ca9d3 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 30 Aug 2024 23:17:22 +0200 Subject: 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 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)) -- cgit v1.0