[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes eb38f3b217 5/5: Fix accidental generation of ci
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes eb38f3b217 5/5: Fix accidental generation of circular lists |
Date: |
Tue, 15 Nov 2022 04:46:47 -0500 (EST) |
branch: scratch/package-vc-fixes
commit eb38f3b217cfab6f1215eb96d8c433e90da5a6c9
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Fix accidental generation of circular lists
* lisp/emacs-lisp/package-vc.el (package-vc--desc->spec): Replace
'mapcar' with 'apply'.
---
lisp/emacs-lisp/package-vc.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index fe54585b64..1b7a51d185 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -219,7 +219,7 @@ name for PKG-DESC."
(if (package-desc-archive pkg-desc)
(alist-get (intern (package-desc-archive pkg-desc))
package-vc--archive-spec-alist)
- (mapcan #'append (mapcar #'cdr package-vc--archive-spec-alist)))
+ (apply #'append (mapcar #'cdr package-vc--archive-spec-alist)))
nil nil #'string=))
(define-inline package-vc--query-spec (pkg-desc prop)