[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/git-commit 95d5be9ac3 15/15: No longer use certain obscure
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/git-commit 95d5be9ac3 15/15: No longer use certain obscure dash functions |
Date: |
Mon, 31 Jul 2023 10:00:22 -0400 (EDT) |
branch: elpa/git-commit
commit 95d5be9ac3d79b8cee9434a6b0a0463b1b36da67
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
No longer use certain obscure dash functions
---
lisp/magit-ediff.el | 2 +-
lisp/magit-wip.el | 3 ++-
lisp/magit-worktree.el | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/magit-ediff.el b/lisp/magit-ediff.el
index a207ad1f92..6cd42ad95f 100644
--- a/lisp/magit-ediff.el
+++ b/lisp/magit-ediff.el
@@ -383,7 +383,7 @@ range)."
"Compare range or commit"
nil mbase))))
(--if-let (magit-split-range input)
- (-cons-to-list it)
+ (list (car it) (cdr it))
(list input nil))))
(defun magit-ediff-read-files (revA revB &optional fileB)
diff --git a/lisp/magit-wip.el b/lisp/magit-wip.el
index 0852a0597d..2c522a6f5f 100644
--- a/lisp/magit-wip.el
+++ b/lisp/magit-wip.el
@@ -437,7 +437,8 @@ many \"branches\" of each wip ref are shown."
(interactive
(nconc (list (magit-completing-read
"Log branch and its wip refs"
- (-snoc (magit-list-local-branch-names) "HEAD")
+ (nconc (magit-list-local-branch-names)
+ (list "HEAD"))
nil t nil 'magit-revision-history
(or (magit-branch-at-point)
(magit-get-current-branch)
diff --git a/lisp/magit-worktree.el b/lisp/magit-worktree.el
index 83db2e45b9..dd19a11ec8 100644
--- a/lisp/magit-worktree.el
+++ b/lisp/magit-worktree.el
@@ -178,7 +178,7 @@ If there is only one worktree, then insert nothing."
(bare "(bare)"))
config)))
worktrees))
- (align (1+ (-max (--map (string-width (car it)) cols)))))
+ (align (1+ (apply #'max (--map (string-width (car it)) cols)))))
(pcase-dolist (`(,head . ,config) cols)
(magit--insert-worktree
config
- [nongnu] elpa/git-commit da23111429 06/15: Use seq-remove instead of -remove-first, (continued)
- [nongnu] elpa/git-commit da23111429 06/15: Use seq-remove instead of -remove-first, ELPA Syncer, 2023/07/31
- [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 <=
- [nongnu] elpa/git-commit dcbef90475 09/15: Use seq-some instead of -some, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit 8a8ac32def 12/15: magit--transient-args-and-files: New function, ELPA Syncer, 2023/07/31
- [nongnu] elpa/git-commit ecccdfa3a4 07/15: Use cl-substitute instead of -replace, ELPA Syncer, 2023/07/31