branch: elpa/aidermacs commit 6b33f2ceb49b1832325e2fbfbbcb72e9df5e9128 Author: Barry Friedman <friedman.ba...@gmail.com> Commit: Matthew Zeng <matthew...@gmail.com>
Fix: Use process-file to get aider version. Fixes #155 --- aidermacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aidermacs.el b/aidermacs.el index d928561daf..210ae09dd2 100644 --- a/aidermacs.el +++ b/aidermacs.el @@ -163,7 +163,7 @@ Uses cached version if available to avoid repeated process calls." (setq aidermacs--cached-version (with-temp-buffer (setq-local exec-path path) - (when (= 0 (call-process aidermacs-program nil t nil "--version")) + (when (= 0 (process-file aidermacs-program nil t nil "--version")) (goto-char (point-min)) (when (re-search-forward "aider \\([0-9]+\\.[0-9]+\\.[0-9]+\\)" nil t) (match-string 1)))))))