branch: externals/ellama
commit c5b8d0eb3686e27c284f2dff1a91a30eafb36cda
Author: Sergey Kostyaev <sskosty...@gmail.com>
Commit: Sergey Kostyaev <sskosty...@gmail.com>

    Add `ellama` alias for main menu
    
    Added an autoloadable alias `ellama` that points to the main menu function
    `ellama-transient-main-menu`. This provides a convenient way to access the
    feature.
    
    Fix #286
---
 ellama-transient.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ellama-transient.el b/ellama-transient.el
index 2675e938f8..d09a4bdefe 100644
--- a/ellama-transient.el
+++ b/ellama-transient.el
@@ -349,5 +349,8 @@ Otherwise, prompt the user to enter a system message."
     ("D" "Solve domain specific problem" 
ellama-solve-domain-specific-problem)]]
   [["Quit" ("q" "Quit" transient-quit-one)]])
 
+;;;###autoload
+(defalias 'ellama 'ellama-transient-main-menu)
+
 (provide 'ellama-transient)
 ;;; ellama-transient.el ends here.

Reply via email to