diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-02 01:07:30 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-02 01:07:30 +0100 |
| commit | 2d49dae6722005c4880c77f85fecb2bb0727d8e2 (patch) | |
| tree | a73ca5e1f21d94803171d8c51c5972cea749ddaa /lisp/magit-bisect.el | |
| parent | 277c632eeb731629735f8ff17be0bfa6b45106ee (diff) | |
Use ## and seq-find instead of --first
In one case use lambda and in another pcase-lambda, not ##.
Diffstat (limited to 'lisp/magit-bisect.el')
| -rw-r--r-- | lisp/magit-bisect.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-bisect.el b/lisp/magit-bisect.el index 475d257..5f07764 100644 --- a/lisp/magit-bisect.el +++ b/lisp/magit-bisect.el @@ -256,7 +256,7 @@ bisect run'." (done-re "^\\([a-z0-9]\\{40,\\}\\) is the first bad commit$") (bad-line (or (and (string-match done-re (car lines)) (pop lines)) - (--first (string-match done-re it) lines)))) + (seq-find (##string-match done-re %) lines)))) (magit-insert-section ((eval (if bad-line 'commit 'bisect-output)) (and bad-line (match-string 1 bad-line))) (magit-insert-heading |
