emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/aidermacs 58593dd57f 216/466: feat: Add helm feature check


From: ELPA Syncer
Subject: [nongnu] elpa/aidermacs 58593dd57f 216/466: feat: Add helm feature check before overriding aider-read-string (#75)
Date: Sat, 15 Mar 2025 19:14:49 -0400 (EDT)

branch: elpa/aidermacs
commit 58593dd57f3318e43af4040318e25886f73ac382
Author: Guillermo VayĆ” <guivaya@gmail.com>
Commit: GitHub <noreply@github.com>

    feat: Add helm feature check before overriding aider-read-string (#75)
    
    * feat: Add helm feature check before overriding aider-read-string
    
    * show hint to install helm
    
    ---------
    
    Co-authored-by: Kang Tu <tninja@gmail.com>
---
 aider-helm.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/aider-helm.el b/aider-helm.el
index 60c0fad8f8..f6083fa206 100644
--- a/aider-helm.el
+++ b/aider-helm.el
@@ -54,7 +54,10 @@ INITIAL-INPUT is optional initial input string."
 
 ;;;###autoload
 (with-eval-after-load 'aider
-  (defalias 'aider-read-string 'aider-helm-read-string))
+  (if (featurep 'helm)
+    (defalias 'aider-read-string 'aider-helm-read-string)
+    (message "Helm is not available. Please install helm package to use 
aider-helm features")
+    ))
 
 (provide 'aider-helm)
 ;;; aider-helm.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]