branch: elpa/aidermacs
commit 7fb9f4859c23f9f546490538af41cf544992e86e
Author: ClarityStorm <[email protected]>
Commit: Matthew Zeng <[email protected]>
Fix Aider version check
---
aidermacs.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/aidermacs.el b/aidermacs.el
index a3fe4f4f0bd..11d358e178c 100644
--- a/aidermacs.el
+++ b/aidermacs.el
@@ -174,7 +174,8 @@ Uses cached version if available to avoid repeated process
calls."
(setq-local exec-path path)
(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)
+ (when (re-search-forward
+ (concat aidermacs-program "
\\([0-9]+\\.[0-9]+\\.[0-9]+\\)") nil t)
(match-string 1)))))))
(message "Aider version %s" aidermacs--cached-version)
aidermacs--cached-version)