Skip to content

Commit

Permalink
Depend on seq-2.24 in all packages
Browse files Browse the repository at this point in the history
In [1: 84eaa20] we only did this for `magit' itself.

1: 2023-09-21 84eaa20
   Use seq-keep instead of delq and mapcar

This is not strictly necessary for `git-commit' because there we don't
*currently* use `seq-keep', but in the future we might very well start
using it there as well, without remembering that a dependency has to
be added.  So let's just do it now.
  • Loading branch information
tarsius committed Sep 24, 2023
1 parent ffae79e commit baae31e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -204,6 +204,7 @@ define set_package_requires_nongnu
(--update-package "lisp/git-commit.el" "$(GIT_COMMIT_VERSION)"
`((emacs ,emacs-version) ;`
(compat ,compat-version)
(seq ,seq-version)
(transient ,transient-version)
(with-editor ,with-editor-version)))

Expand All @@ -221,12 +222,14 @@ define set_package_requires_nongnu
`((emacs "$(LIBGIT_EMACS_VERSION)") ;`
(compat ,compat-version)
(libgit ,libgit-version)
(seq ,seq-version)
(magit ,magit-version)))

(--update-package "lisp/magit-section.el" "$(MAGIT_SECTION_VERSION)"
`((emacs ,emacs-version) ;`
(compat ,compat-version)
(dash ,dash-version)))
(dash ,dash-version)
(seq ,seq-version)))
endef
export set_package_requires_nongnu

Expand Down
3 changes: 3 additions & 0 deletions lisp/git-commit.el
Expand Up @@ -15,6 +15,7 @@
;; Package-Requires: (
;; (emacs "25.1")
;; (compat "29.1.3.4")
;; (seq "2.24")
;; (transient "0.3.6")
;; (with-editor "3.0.5"))

Expand Down Expand Up @@ -118,7 +119,9 @@
;;; Code:

(require 'compat)
(require 'seq)
(require 'subr-x)

(require 'log-edit)
(require 'ring)
(require 'rx)
Expand Down
1 change: 1 addition & 0 deletions lisp/magit-libgit.el
Expand Up @@ -13,6 +13,7 @@
;; (emacs "26.1")
;; (compat "29.1.3.4")
;; (libgit "0")
;; (seq "2.24")
;; (magit "3.3.0"))

;; SPDX-License-Identifier: GPL-3.0-or-later
Expand Down
3 changes: 2 additions & 1 deletion lisp/magit-section.el
Expand Up @@ -12,7 +12,8 @@
;; Package-Requires: (
;; (emacs "25.1")
;; (compat "29.1.3.4")
;; (dash "2.19.1"))
;; (dash "2.19.1")
;; (seq "2.24"))

;; SPDX-License-Identifier: GPL-3.0-or-later

Expand Down

0 comments on commit baae31e

Please sign in to comment.