branch: elpa/aidermacs commit fe4e4bebebf2dd6a1aa4f5c5eb1e08f9b9399d54 Merge: 7fb8c67a16 77e33c72fc Author: Kang Tu <tni...@gmail.com> Commit: GitHub <nore...@github.com>
Merge pull request #2 from AmaiKinono/autoload enh: autoload the entry command --- aider.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider.el b/aider.el index aa4c56aaa7..6bfa052251 100644 --- a/aider.el +++ b/aider.el @@ -35,6 +35,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" @@ -80,6 +83,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)