Fix circular list

This commit is contained in:
Alexander Rosenberg 2025-06-30 20:25:58 +09:00
parent a23464a17a
commit 2d85457f5d
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -851,7 +851,7 @@ That is, if EXT is \"pkg.tar.gz\", this will return
(is-dir (eq t (file-attribute-type (cdr entry)))))
(if is-dir
(copy-sequence (eshell-starship--module-by :dirs name))
(apply 'nconc
(apply 'append
(eshell-starship--module-by :files name)
(mapcar (lambda (ext)
(copy-sequence (eshell-starship--module-by