[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/aidermacs ffb8126d52 056/466: refactor: simplify aider-rea
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/aidermacs ffb8126d52 056/466: refactor: simplify aider-read-string function by removing unnecessary string processing |
Date: |
Sat, 15 Mar 2025 19:11:07 -0400 (EDT) |
branch: elpa/aidermacs
commit ffb8126d520c62500ae74725c22736c27273abf5
Author: Kang Tu <kang_tu@apple.com>
Commit: Kang Tu (aider) <kang_tu@apple.com>
refactor: simplify aider-read-string function by removing unnecessary
string processing
---
aider.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/aider.el b/aider.el
index 6752c2150c..94ab272b97 100644
--- a/aider.el
+++ b/aider.el
@@ -26,11 +26,7 @@
(defun aider-read-string (prompt &optional initial-input)
"Read a string from the user with PROMPT and optional INITIAL-INPUT.
This function can be customized or redefined by the user."
- (let ((input (read-string prompt initial-input)))
- (if (string-match-p "\n" input)
- (let ((lines (split-string input "\n" t)))
- (concat (mapconcat 'identity lines " ") (if (string-suffix-p " "
input) "\n" "")))
- input)))
+ (read-string prompt initial-input))
;; Transient menu for Aider commands
(transient-define-prefix aider-transient-menu ()
- [nongnu] elpa/aidermacs 59cb5f8d4c 032/466: fix ) error, (continued)
- [nongnu] elpa/aidermacs 59cb5f8d4c 032/466: fix ) error, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs cf6df7ed58 033/466: update README, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs f50cde63fc 036/466: docs: update README with details about aider-help function and commit generation process, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 6c7970928c 040/466: fix a bug, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs a18d27862e 041/466: lower case, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 4eaf0d435e 044/466: chore: remove default key binding for aider-transient-menu and update README accordingly, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e1cb57f818 047/466: add helm-aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 380d1fe3c0 050/466: give up multiple line input, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 1ed5ec220e 052/466: feat: update prompts for code command and debug command to reflect new functionality, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 917a254054 057/466: feat: replace new-line characters with spaces in user input while preserving the final new-line in aider-read-string function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs ffb8126d52 056/466: refactor: simplify aider-read-string function by removing unnecessary string processing,
ELPA Syncer <=
- [nongnu] elpa/aidermacs 005f93e1d0 062/466: feat: Add aider-clear function and menu item above aider-reset, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs e364f7122d 065/466: feat: Add test_aider.el, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 516270aab0 069/466: update test, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 3805e94b2d 072/466: fix: require needed packages, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 2fad218234 077/466: not necessarily switching to aider buffer for each command, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs bb8e7bd6ac 087/466: Merge pull request #6 from tninja/feat_ask2__and__batch_add, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 6eca54cb2f 009/466: refactor: remove aider-drop-current-file function and its references, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 2e0dcea1c4 010/466: rename the function, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs c58098cd07 020/466: couple of refactoring, ELPA Syncer, 2025/03/15
- [nongnu] elpa/aidermacs 3bebfd6dcc 029/466: add other tool, ELPA Syncer, 2025/03/15