diff options
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lisp/km-magit.el | 6 |
2 files changed, 0 insertions, 8 deletions
@@ -1237,8 +1237,6 @@ (lambda () (add-hook 'with-editor-pre-finish-hook #'git-commit-save-message nil t))) - (add-hook 'git-commit-setup-hook #'km/git-commit-turn-on-flyspell) - (advice-add 'git-commit-prev-message :after (lambda (&rest _) (goto-char (point-min))) diff --git a/lisp/km-magit.el b/lisp/km-magit.el index 83b6b08..663fcde 100644 --- a/lisp/km-magit.el +++ b/lisp/km-magit.el @@ -621,12 +621,6 @@ argument. Interactively, this can be accessed using the command (magit-stash-store message "refs/stash" commit)) (magit-refresh)) -(defun km/git-commit-turn-on-flyspell () - "Like `git-commit-turn-on-flyspell', but don't check buffer initially." - (setq flyspell-generic-check-word-predicate - 'git-commit-flyspell-verify) - (turn-on-flyspell)) - (defun km/magit-log-current (&optional args files) "Like `magit-log-current', but if head is detached, use \"HEAD\"." (interactive (magit-log-arguments)) |