summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-12-31 12:04:05 -0500
committerKyle Meyer <kyle@kyleam.com>2013-12-31 12:10:19 -0500
commit29ffcd9c3814c0f5aa0459d38a99f78a6b91e09d (patch)
tree3084fa0fc719fa0d2c504377b2c4785e9608bbbb /init
parent2f37455732b36383fd77f2e6a1dc838d9e3ab1af (diff)
downloademacs.d-29ffcd9c3814c0f5aa0459d38a99f78a6b91e09d.tar.gz
Remove outdated function for quick magit amend
`km/magit-just-amend' used `magit-with-refresh', which is no longer defined in the current version of magit. I'm removing the function, instead of updating it, because 19a722f of magit added a function (`magit-commit-extend') that takes care of this functionality.
Diffstat (limited to 'init')
-rw-r--r--init/km-git.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/init/km-git.el b/init/km-git.el
index 9ef6add..a80feed 100644
--- a/init/km-git.el
+++ b/init/km-git.el
@@ -19,15 +19,6 @@
(setq magit-restore-window-configuration t)
-;; http://whattheemacsd.com/setup-magit.el-05.html
-(defun km/magit-just-amend ()
- (interactive)
- (save-window-excursion
- (magit-with-refresh
- (shell-command "git --no-pager commit --amend --reuse-message=HEAD"))))
-
-(define-key magit-status-mode-map (kbd "C-c C-a") 'km/magit-just-amend)
-
(setq magit-default-tracking-name-function 'magit-default-tracking-name-branch-only)
(setq magit-expand-staged-on-commit t)