diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-22 20:55:34 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-08-22 20:55:34 +0200 |
| commit | 594723c6391fb1320a1a80d688edda7c96803f16 (patch) | |
| tree | 5b70f0d2081dc58fe064fd1466faf59efc6c495c /lisp/magit-push.el | |
| parent | fcd2907fca0921c5338808e28427d7ca2649479c (diff) | |
Use Cond-Let's implementation of and-let
Using the "other elements of VARLIST have access to SYMBOLs from
earlier elements" variant is IMHO _wrong_ when there are in fact
no other elements.
Diffstat (limited to 'lisp/magit-push.el')
| -rw-r--r-- | lisp/magit-push.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-push.el b/lisp/magit-push.el index f5ff91a..a1691c8 100644 --- a/lisp/magit-push.el +++ b/lisp/magit-push.el @@ -155,7 +155,7 @@ the upstream." (magit-run-git-async "push" "-v" args remote (concat branch ":" merge)))) (defun magit-push--upstream-description () - (and-let* ((branch (magit-get-current-branch))) + (and-let ((branch (magit-get-current-branch))) (or (magit-get-upstream-branch branch) (let ((remote (magit-get "branch" branch "remote")) (merge (magit-get "branch" branch "merge")) |
