[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit da23111429 06/15: Use seq-remove instead of -re
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit da23111429 06/15: Use seq-remove instead of -remove-first |
Date: |
Mon, 31 Jul 2023 10:00:17 -0400 (EDT) |
branch: elpa/git-commit
commit da23111429a449834ef163f2e13391e74ed0c31a
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Use seq-remove instead of -remove-first
Of course this is not an exact substitute — none exits — but
that doesn't matter here because we know the list contains at most
one matching element and the list is short enough for the needless
work to be insignificant.
---
lisp/magit-commit.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lisp/magit-commit.el b/lisp/magit-commit.el
index d7c5affe0f..842a87dfb6 100644
--- a/lisp/magit-commit.el
+++ b/lisp/magit-commit.el
@@ -314,9 +314,8 @@ depending on the value of option
`magit-commit-squash-confirm'."
(magit-with-editor
(magit-call-git
"commit" "--no-gpg-sign"
- (-remove-first
- (apply-partially #'string-prefix-p "--gpg-sign=")
- args)))
+ (seq-remove (apply-partially #'string-prefix-p "--gpg-sign=")
+ args)))
(magit-run-git-with-editor "commit" args))
t) ; The commit was created; used by below lambda.
(let ((winconf (and magit-commit-show-diff
- [nongnu] elpa/git-commit updated (decd5f40dd -> 95d5be9ac3), ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 2b82fc2afc 01/15: Use cl-set-difference instead of -difference, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit da23111429 06/15: Use seq-remove instead of -remove-first,
ELPA Syncer <=
- [nongnu] elpa/git-commit e8d4674fd7 08/15: Use seq-find instead of -first, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 3029f64b4a 05/15: Use seq-remove instead of -remove, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 488ed2ad58 04/15: Use seq-filter instead of -filter, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit a6f9c78374 11/15: Use seq-take and seq-drop instead of -split-at, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit a5ca96edcd 02/15: Use cl-union instead of -union, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 82408757b0 03/15: Use seq-map-indexed instead of -map-indexed, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit c9fad8b58e 10/15: Use mapcar and delq instead of -keep, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit bbb0afb516 13/15: No longer use -separate, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 87afefca87 14/15: No longer use -none-p, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 95d5be9ac3 15/15: No longer use certain obscure dash functions, ELPA Syncer, 2023/07/31