From 3e95b19cd1e0ec5a8f92ea0a4a1f74ce6a8997ba Mon Sep 17 00:00:00 2001 From: Binbin Date: Wed, 20 Mar 2024 00:46:35 +0900 Subject: [PATCH] fix: fix download link by only using latest version (#74) --- parinfer-rust-helper.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parinfer-rust-helper.el b/parinfer-rust-helper.el index 31d0ea2..197c4d8 100644 --- a/parinfer-rust-helper.el +++ b/parinfer-rust-helper.el @@ -86,7 +86,7 @@ offer to download the LIB-NAME to LIBRARY-LOCATION." (and (not (parinfer-rust--test-p)) (yes-or-no-p parinfer-rust--outdated-version))) - (parinfer-rust--download-from-github supported-versions library-location lib-name) + (parinfer-rust--download-from-github (car supported-versions) library-location lib-name) (message "A new version has been downloaded, you will need to reload Emacs for the changes to take effect."))) (defun parinfer-rust--download-from-github (parinfer-rust-version