diff options
-rw-r--r-- | lisp/init-git.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index f6397c0..f12389b 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -29,6 +29,10 @@ (magit-backup-mode -1)) (after 'git-commit + (add-hook 'git-commit-setup-hook + (lambda () + (add-hook 'with-editor-pre-finish-hook + 'git-commit-save-message nil t))) (add-hook 'git-commit-setup-hook 'git-commit-turn-on-flyspell)) (defun km/magit-auto-commit () |