summaryrefslogtreecommitdiff
path: root/lisp/init-git.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-20 23:55:55 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-28 00:29:49 -0500
commit61ebb6dc8f450b98a8ab16727a81459edcf7a0b7 (patch)
treec7144439365f27f12fe5fcef3c008df0c7bb6a6d /lisp/init-git.el
parent8f738061dfff16eebdc47bfa2072559accac3e4a (diff)
downloademacs.d-61ebb6dc8f450b98a8ab16727a81459edcf7a0b7.tar.gz
Activate magit-patch-popup with prefix
Diffstat (limited to 'lisp/init-git.el')
-rw-r--r--lisp/init-git.el3
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