summaryrefslogtreecommitdiff
path: root/lisp/km-magit.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-25 20:05:56 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-25 20:13:21 -0400
commitd83dd13307d7c17257c0c1b457fa0687dd07e482 (patch)
tree0524fec437819aef093c5465147f8476f78173c9 /lisp/km-magit.el
parent330252b3069b33508600ead70c8dbae553fc76a3 (diff)
downloademacs.d-d83dd13307d7c17257c0c1b457fa0687dd07e482.tar.gz
Drop km/git-commit-turn-on-flyspell
That predated Magit's 24c96608 (git-commit-turn-on-flyspell: avoid unnecessary work, 2017-12-03) and shouldn't be necessary now.
Diffstat (limited to 'lisp/km-magit.el')
-rw-r--r--lisp/km-magit.el6
1 files changed, 0 insertions, 6 deletions
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))