branch: externals/minuet
commit 0daf4532b76d9962bdb4b87d23441abc34a4f846
Author: Milan Glacier <d...@milanglacier.com>
Commit: Milan Glacier <d...@milanglacier.com>

    fix: use `intern-soft` to check api key function existence in 
minuet-configure-provider.
---
 minuet.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/minuet.el b/minuet.el
index bcaa99dea3..afef558392 100644
--- a/minuet.el
+++ b/minuet.el
@@ -1231,7 +1231,7 @@ their endpoint and API key."
                                                (t ""))))
                    ;; If the user enters nothing via `read-string`, retain the 
current API key.
                    (final-api-key (cond ((equal "" api-key) current-api-key)
-                                        ((functionp (intern api-key)) (intern 
api-key))
+                                        ((functionp (intern-soft api-key)) 
(intern-soft api-key))
                                         (t api-key))))
                 (plist-put options :end-point endpoint)
                 (plist-put options :api-key final-api-key)))

Reply via email to