From d3d907c230e5424b0cb2d8a908eee6843f480466 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 3 Sep 2015 00:58:21 -0400 Subject: Remove pointless let-binding --- lisp/init-git.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/init-git.el') 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. -- cgit v1.2.3