summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-06-12 23:50:40 -0400
committerKyle Meyer <kyle@kyleam.com>2016-06-12 23:50:40 -0400
commit9ecc49bf5b7d192b1935df1fffdb04b9f77562b8 (patch)
tree3465eab5d0ccdd2f643a2e2b912f9952400aa2fb /init.el
parentd2261549195f8b8a984e3cbf8b3f9e489b6aa2f2 (diff)
downloademacs.d-9ecc49bf5b7d192b1935df1fffdb04b9f77562b8.tar.gz
magit: Pop up process buffer on fetch
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.el b/init.el
index 7265c28..c44476b 100644
--- a/init.el
+++ b/init.el
@@ -927,6 +927,12 @@
(magit-change-popup-key 'magit-branch-popup :action
?s ?v)
+ (advice-add 'magit-git-fetch
+ :around
+ (lambda (fn &rest args)
+ (let ((magit-process-popup-time 0))
+ (apply fn args)))
+ '((name . "magit-fetch-process")))
(advice-add
'magit-merge-editmsg :around
(lambda (f rev &rest _) (funcall f rev "--no-ff"))