emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit 3029f64b4a 05/15: Use seq-remove instead of -re


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 3029f64b4a 05/15: Use seq-remove instead of -remove
Date: Mon, 31 Jul 2023 10:00:17 -0400 (EDT)

branch: elpa/git-commit
commit 3029f64b4a98bc11304b5cc8d777e2bf7beb82d3
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Use seq-remove instead of -remove
---
 lisp/magit-branch.el  | 2 +-
 lisp/magit-section.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/magit-branch.el b/lisp/magit-branch.el
index 21777d1d6c..96589e9e0a 100644
--- a/lisp/magit-branch.el
+++ b/lisp/magit-branch.el
@@ -593,7 +593,7 @@ prompt is confusing."
              (list (magit-read-branch-prefer-other
                     (if force "Force delete branch" "Delete branch")))))
      (unless force
-       (when-let ((unmerged (-remove #'magit-branch-merged-p branches)))
+       (when-let ((unmerged (seq-remove #'magit-branch-merged-p branches)))
          (if (magit-confirm 'delete-unmerged-branch
                "Delete unmerged branch %s"
                "Delete %d unmerged branches"
diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 8626058c70..1a04b55f54 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -2049,7 +2049,7 @@ Configuration'."
   (let ((entries (symbol-value hook)))
     (unless (listp entries)
       (setq entries (list entries)))
-    (--when-let (-remove #'functionp entries)
+    (--when-let (seq-remove #'functionp entries)
       (message "`%s' contains entries that are no longer valid.
 %s\nUsing standard value instead.  Please re-configure hook variable."
                hook



reply via email to

[Prev in Thread] Current Thread [Next in Thread]