branch: elpa/gptel
commit 289a5cc3e1b26cb6c61563e8712b569b102dc5eb
Author: Henrik Ahlgren <pa...@seestieto.com>
Commit: Karthik Chikmagalur <karthikchikmaga...@gmail.com>

    gptel: Silence byte-compilation warnings
    
    * gptel-antropic (gptel--anthropic-models): Use URL format recognized
    by `describe-variable` in docstring.
    
    * gptel-anthropic.el (gptel-make-anthropic): Silence warnings about
    docstring (created by a macro) wider than 80 characters with local
    variable.  (See Emacs bug#65790.)
    
    * gptel-kaqi.el (gptel--wrap-user-prompt): Ditto.
    
    * gptel-openai.el: (gptel-make-azure): Ditto.
    
    * gptel-openai-extras.el (gptel-make-perplexity): Ditto.
    
    * gptel-ollama.el (gptel--wrap-user-prompt): Wrap a docstring line to
    less than 80 characters.
    
    * gptel-org.el (gptel-org--element-lineage-map): Silence warnings
    about `org-element-type-p' and `org-element-parent', see #294.
---
 gptel-anthropic.el     | 7 ++++++-
 gptel-gh.el            | 4 ++++
 gptel-kagi.el          | 4 ++++
 gptel-ollama.el        | 3 ++-
 gptel-openai-extras.el | 4 ++++
 gptel-openai.el        | 4 ++++
 gptel-org.el           | 5 +++++
 7 files changed, 29 insertions(+), 2 deletions(-)

diff --git a/gptel-anthropic.el b/gptel-anthropic.el
index 8f9590ca10..81472d72c8 100644
--- a/gptel-anthropic.el
+++ b/gptel-anthropic.el
@@ -591,7 +591,7 @@ Keys:
 Information about the Anthropic models was obtained from the following
 comparison table:
 
-<https://docs.anthropic.com/en/docs/about-claude/models#model-comparison-table>")
+URL 
`https://docs.anthropic.com/en/docs/about-claude/models#model-comparison-table'")
 
 ;;;###autoload
 (cl-defun gptel-make-anthropic
@@ -676,3 +676,8 @@ for."
 
 (provide 'gptel-anthropic)
 ;;; gptel-anthropic.el ends here
+
+;; Local Variables:
+;; byte-compile-warnings: (not docstrings)
+;; End:
+
diff --git a/gptel-gh.el b/gptel-gh.el
index 4167d60697..5b8527b934 100644
--- a/gptel-gh.el
+++ b/gptel-gh.el
@@ -364,3 +364,7 @@ for."
 
 (provide 'gptel-gh)
 ;;; gptel-gh.el ends here
+
+;; Local Variables:
+;; byte-compile-warnings: (not docstrings)
+;; End:
diff --git a/gptel-kagi.el b/gptel-kagi.el
index c86b8586a7..5d879f19fc 100644
--- a/gptel-kagi.el
+++ b/gptel-kagi.el
@@ -190,3 +190,7 @@ Example:
 
 (provide 'gptel-kagi)
 ;;; gptel-kagi.el ends here
+
+;; Local Variables:
+;; byte-compile-warnings: (not docstrings)
+;; End:
diff --git a/gptel-ollama.el b/gptel-ollama.el
index 1253d27601..a866688097 100644
--- a/gptel-ollama.el
+++ b/gptel-ollama.el
@@ -239,7 +239,8 @@ format."
                                        &optional inject-media)
   "Wrap the last user prompt in PROMPTS with the context string.
 
-If INJECT-MEDIA is non-nil wrap it with base64-encoded media files in the 
context."
+If INJECT-MEDIA is non-nil wrap it with base64-encoded media
+files in the context."
   (if inject-media
       ;; Wrap the first user prompt with included media files/contexts
       (when-let* ((media-list (gptel-context--collect-media))
diff --git a/gptel-openai-extras.el b/gptel-openai-extras.el
index ba01804a26..42d3edda16 100644
--- a/gptel-openai-extras.el
+++ b/gptel-openai-extras.el
@@ -438,3 +438,7 @@ see `gptel-make-openai'."
 
 (provide 'gptel-openai-extras)
 ;;; gptel-openai-extras.el ends here
+
+;; Local Variables:
+;; byte-compile-warnings: (not docstrings)
+;; End:
diff --git a/gptel-openai.el b/gptel-openai.el
index 5f4b214aeb..f8d593609e 100644
--- a/gptel-openai.el
+++ b/gptel-openai.el
@@ -690,3 +690,7 @@ Example:
 
 (provide 'gptel-openai)
 ;;; gptel-openai.el ends here
+
+;; Local Variables:
+;; byte-compile-warnings: (not docstrings)
+;; End:
diff --git a/gptel-org.el b/gptel-org.el
index 3e3686cfac..eba8ef6d85 100644
--- a/gptel-org.el
+++ b/gptel-org.el
@@ -729,3 +729,8 @@ cleaning up after."
 
 (provide 'gptel-org)
 ;;; gptel-org.el ends here
+
+;; Silence warnings about `org-element-type-p' and `org-element-parent', see 
#294.
+;; Local Variables:
+;; byte-compile-warnings: (not unresolved)
+;; End:

Reply via email to