[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gptel 1fcb4606a2 184/273: Fix compilation warning in gptel
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gptel 1fcb4606a2 184/273: Fix compilation warning in gptel-openai.el |
Date: |
Wed, 1 May 2024 10:02:21 -0400 (EDT) |
branch: elpa/gptel
commit 1fcb4606a2595546a037732dcac5e82a00210eec
Author: João Távora <joaotavora@gmail.com>
Commit: Karthik Chikmagalur <karthikchikmagalur@gmail.com>
Fix compilation warning in gptel-openai.el
* gptel-openai.el (cl-lib): Require it.
* gptel.el (compat): Leniently require compat so gptel.el can be
compiled standalone. This will expose other compiler errors that
are easily visible with M-x flymake.
---
gptel-openai.el | 2 ++
gptel.el | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/gptel-openai.el b/gptel-openai.el
index f90854bf64..7000973065 100644
--- a/gptel-openai.el
+++ b/gptel-openai.el
@@ -23,6 +23,8 @@
;;; Code:
(require 'cl-generic)
+(eval-when-compile
+ (require 'cl-lib))
(require 'map)
(defvar gptel-model)
diff --git a/gptel.el b/gptel.el
index f39857680c..bb9314be0b 100644
--- a/gptel.el
+++ b/gptel.el
@@ -120,7 +120,7 @@
(eval-when-compile
(require 'subr-x)
(require 'cl-lib))
-(require 'compat)
+(require 'compat nil t)
(require 'url)
(require 'json)
(require 'map)
- [nongnu] elpa/gptel 24add64455 114/273: gptel: Adjust how gptel--system-message is set, (continued)
- [nongnu] elpa/gptel 24add64455 114/273: gptel: Adjust how gptel--system-message is set, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 17a58d38e7 135/273: gptel: Fix bug in url-retrieve setup, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 61c0df5e19 119/273: gptel, gptel-curl: Make the gptel text-property non-sticky, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 50a2498259 126/273: README: Tweak instructions for local LLMs, mention #120, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ec0e461b35 128/273: gptel-curl: Increased curl timeout (#127), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d5949ef428 140/273: gptel-curl: handle large Curl payloads with a temp file (#137), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 0ea3c7fb15 143/273: gptel-transient: Improve suffix message editor, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel ce75072f9d 152/273: gptel: Bump version, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 3af2650342 170/273: gptel-transient: save window state when ediff, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel e67ed41e31 173/273: README: Specify: no key needed for llama backend, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 1fcb4606a2 184/273: Fix compilation warning in gptel-openai.el,
ELPA Syncer <=
- [nongnu] elpa/gptel b3d028d074 185/273: Add .gitignore, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 5465271541 207/273: gptel: Add gpt-4-0125-preview to model list (Fix #215), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 43f625ecb9 209/273: gptel-openai: curl-args slot in gptel-backend (#221), ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel d502ad8ecb 222/273: test-gptel-org: Add markdown conversion tests, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 9925dc91b4 223/273: gptel: Improve markdown converter, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel dade9ec8e1 231/273: gptel: Add introspection commands, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 7e6b106516 233/273: gptel-transient: Change menu display, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 26326c302e 249/273: gptel-anthropic: Parsing fix, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 22f7043c32 242/273: gptel: Fix gptel-end-of-response, ELPA Syncer, 2024/05/01
- [nongnu] elpa/gptel 94b13e78ec 239/273: gptel-transient: enable additional directive by default, ELPA Syncer, 2024/05/01