diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:09:22 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-22 21:09:22 -0400 |
commit | 851de4f6b3e973bdd62463c18050c40d8303a9b0 (patch) | |
tree | 67010432df0eaa5971470781bc1cbb1dea86322f /lisp/init-git.el | |
parent | ead2b569124f455b23e828650dfa8864aaba414b (diff) | |
download | emacs.d-851de4f6b3e973bdd62463c18050c40d8303a9b0.tar.gz |
Go crazy with anaphoric forms
Diffstat (limited to 'lisp/init-git.el')
-rw-r--r-- | lisp/init-git.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index 5cfe9c0..c084c69 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -110,8 +110,8 @@ START-POINT set to the current branch. "Create a backup branch for the current branch. \n(git branch b/<current-branch>)" (interactive) - (-if-let (current-branch (magit-get-current-branch)) - (magit-run-git "branch" (concat "b/" current-branch)) + (--if-let (magit-get-current-branch) + (magit-run-git "branch" (concat "b/" it)) (user-error "No current branch"))) ;; http://whattheemacsd.com/setup-magit.el-01.html |