summaryrefslogtreecommitdiff
path: root/init/km-func.el
diff options
context:
space:
mode:
Diffstat (limited to 'init/km-func.el')
-rw-r--r--init/km-func.el19
1 files changed, 0 insertions, 19 deletions
diff --git a/init/km-func.el b/init/km-func.el
index 4043cb9..bf98552 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -163,22 +163,3 @@ KILLARG."
(other-window 1))
(global-set-key (kbd "C-c s") 'km/swap-windows)
-
-;; 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"))))
-
-(eval-after-load "magit"
- '(define-key magit-status-mode-map (kbd "C-c C-a") 'km/magit-just-amend))
-
-(defun km/magit-auto-commit ()
- (interactive)
- (save-window-excursion
- (magit-with-refresh
- (shell-command "git --no-pager commit --all --message=auto"))))
-
-(eval-after-load "magit"
- '(define-key magit-status-mode-map (kbd "C-c C-u") 'km/magit-auto-commit))