Subject: [PATCH] gnu: emacs-dash: Update to 2.20.0.

From: Cayetano Santos <[email-masked]>
Date: Sun, 16 Mar 2025 18:44:16 +0100

* gnu/packages/emacs-xyz.scm (emacs-dash): Update to 2.20.0.

Change-Id: I7f28f4d717ecf9a9c5290f118b52d87411fafb22
---

- updated
- let byte-compile-error-on-warn to t
- styling

 gnu/packages/emacs-xyz.scm | 30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c0e8c810bf..0cf954dd50 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6579,26 +6579,20 @@ (define-public emacs-pdfgrep
 (define-public emacs-dash
   (package
     (name "emacs-dash")
-    (version "2.19.1")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/magnars/dash.el")
-                    (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0z6f8y1m9amhg427iz1d4xcyr6n0kj5w7kmiz134p320ixsdnzd8"))))
+    (version "2.20.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/magnars/dash.el")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "092kf61bi6dwl42yng69g3y55ni8afycqbpaqx9wzf8frx9myg6m"))))
     (build-system emacs-build-system)
     (arguments
-     (list #:tests? #t
-           #:phases
-           #~(modify-phases %standard-phases
-               (add-after 'unpack 'disable-byte-compile-error-on-warn
-                 (lambda _
-                   (substitute* "Makefile"
-                     (("\\(setq byte-compile-error-on-warn t\\)")
-                      "(setq byte-compile-error-on-warn nil)")))))))
+     (list
+      #:tests? #t))
     (home-page "https://github.com/magnars/dash.el")
     (synopsis "Modern list library for Emacs")
     (description "This package provides a modern list API library for Emacs.")

base-commit: b8024fa1ade69a4f97990f0e3379eef01dfd40c2
--
2.48.1