diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-04-24 21:41:09 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-04-24 21:41:09 -0400 |
commit | 2e99283d231f195c33834ba834107d093ee3dd2e (patch) | |
tree | 8be1a75e4f9feccdb090c577a0a8af8835d32ee0 /lisp | |
parent | 4e8e5b40d0a2889d7128cbd97d097f67d145f87b (diff) | |
download | emacs.d-2e99283d231f195c33834ba834107d093ee3dd2e.tar.gz |
Add every git commit message to ring
https://github.com/magit/magit/issues/1677
Diffstat (limited to 'lisp')
-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 () |