branch: elpa/magit
commit 7882307619c300e8ac39848599d68e4b60ffa210
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-unstage-intent: Use correct conditional
---
lisp/magit-apply.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/magit-apply.el b/lisp/magit-apply.el
index 3115655892d..0bbe1d03e53 100644
--- a/lisp/magit-apply.el
+++ b/lisp/magit-apply.el
@@ -449,8 +449,8 @@ ignored) files."
(magit-wip-commit-after-apply files " after unstage"))
(defun magit-unstage-intent (files)
- (if-let ((staged (magit-staged-files))
- (intent (seq-filter (##member % staged) files)))
+ (if-let* ((staged (magit-staged-files))
+ (intent (seq-filter (##member % staged) files)))
(magit-unstage-1 intent)
(user-error "Already unstaged")))