branch: elpa/aidermacs
commit 871c64366aca25ca0df1ab454029776b7824a480
Author: Mingde (Matthew) Zeng <[email protected]>
Commit: Mingde (Matthew) Zeng (aider) <[email protected]>
refactor: Modify aidermacs-get-last-output to display current output
interactively
---
aidermacs-backends.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/aidermacs-backends.el b/aidermacs-backends.el
index 8742607ad4..3534d79fbf 100644
--- a/aidermacs-backends.el
+++ b/aidermacs-backends.el
@@ -52,7 +52,8 @@ Returns a list of (timestamp . output-text) pairs, most
recent first."
(defun aidermacs-get-last-output ()
"Get the most recent output from aidermacs."
- (car (aidermacs-get-output-history 1)))
+ (interactive)
+ (message aidermacs--current-output))
(defun aidermacs-clear-output-history ()
"Clear the output history."