branch: elpa/aidermacs
commit 77e33c72fcb3a52e32cf1267927c38d09bd088fc
Author: AmaiKinono <[email protected]>
Commit: AmaiKinono <[email protected]>
enh: autoload entry commands
---
aider.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/aider.el b/aider.el
index 59631b8cfe..a8ac06e0cb 100644
--- a/aider.el
+++ b/aider.el
@@ -33,6 +33,9 @@ This function can be customized or redefined by the user."
(defalias 'aider-read-string 'aider-plain-read-string)
;; Transient menu for Aider commands
+;; The instruction in the autoload comment is needed, see
+;; https://github.com/magit/transient/issues/280.
+;;;###autoload (autoload 'aider-transient-menu "aider" "Transient menu for
Aider commands." t)
(transient-define-prefix aider-transient-menu ()
"Transient menu for Aider commands."
["Aider: AI pair programming"
@@ -78,6 +81,7 @@ If not in a git repository, an error is raised."
(error "Not in a git repository")
(aider-buffer-name-from-git-repo-path git-repo-path home-path))))
+;;;###autoload
(defun aider-run-aider ()
"Create a comint-based buffer and run 'aider' for interactive conversation."
(interactive)