diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-02-20 23:55:55 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-02-28 00:29:49 -0500 |
commit | 61ebb6dc8f450b98a8ab16727a81459edcf7a0b7 (patch) | |
tree | c7144439365f27f12fe5fcef3c008df0c7bb6a6d | |
parent | 8f738061dfff16eebdc47bfa2072559accac3e4a (diff) | |
download | emacs.d-61ebb6dc8f450b98a8ab16727a81459edcf7a0b7.tar.gz |
Activate magit-patch-popup with prefix
-rw-r--r-- | lisp/init-git.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index 98be191..a4b2597 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -256,6 +256,9 @@ the commit buffer. And no dinging." (define-key magit-popup-mode-map (kbd "SPC <t>") 'magit-invoke-popup-switch) (define-key magit-popup-mode-map (kbd "SPC SPC <t>") 'magit-invoke-popup-option) + (setq magit-patch-popup + (plist-put magit-patch-popup :use-prefix 'popup)) + (magit-define-popup-action 'magit-commit-popup ?u "Auto commit" 'km/magit-auto-commit) (magit-define-popup-action 'magit-push-popup |