summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-09-03 00:58:21 -0400
committerKyle Meyer <kyle@kyleam.com>2015-09-03 00:58:21 -0400
commitd3d907c230e5424b0cb2d8a908eee6843f480466 (patch)
tree5c170b13f540525e86759c9b8acd91e633e000b5 /lisp
parentc34f480a68dd46f5d7c36f8a946025cd185da6cb (diff)
downloademacs.d-d3d907c230e5424b0cb2d8a908eee6843f480466.tar.gz
Remove pointless let-binding
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index db7a508..a219093 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -127,8 +127,9 @@ without requiring confirmation.
(defun km/magit-push-all ()
"Push all branches."
(interactive)
- (let ((remote (magit-read-remote "Remote")))
- (magit-run-git-async "push" "-v" remote "--all")))
+ (magit-run-git-async "push" "-v"
+ (magit-read-remote "Remote")
+ "--all"))
(defun km/magit-push-head (remote &optional args)
"Push current branch to same name on remote.