branch: elpa/aidermacs
commit 5012f26c81f9d36a5ab68dd8c602ea6bab8afc2d
Author: Kang Tu <[email protected]>
Commit: Kang Tu (aider) <[email protected]>
refactor: remove redundant file addition before sending command in aider.el
---
aider.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/aider.el b/aider.el
index e26e64cd86..199cd6ef2b 100644
--- a/aider.el
+++ b/aider.el
@@ -131,8 +131,6 @@ COMMAND should be a string representing the command to
send."
COMMAND is a string representing the command to send."
(interactive
(list (read-string "Enter command to send to aider: ")))
- ;; Ensure the current file is added before sending the command
- (aider-add-current-file)
;; Use the shared helper function to send the command
(aider--send-command command))