summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el2
-rw-r--r--lisp/km-magit.el6
2 files changed, 0 insertions, 8 deletions
diff --git a/init.el b/init.el
index 851ee68..9324359 100644
--- a/init.el
+++ b/init.el
@@ -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))