From 29ffcd9c3814c0f5aa0459d38a99f78a6b91e09d Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 31 Dec 2013 12:04:05 -0500 Subject: 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. --- init/km-git.el | 9 --------- 1 file changed, 9 deletions(-) (limited to 'init') 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) -- cgit v1.2.3