Skip to content

Commit

Permalink
gptel: Appease byte-compiler and linter
Browse files Browse the repository at this point in the history
* gptel-transient.el:

* gptel-openai.el:

* gptel-gemini.el:
  • Loading branch information
karthink committed Dec 29, 2023
1 parent 1e31f55 commit e535738
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions gptel-gemini.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
;; Copyright (C) 2023 Karthik Chikmagalur

;; Author: Karthik Chikmagalur <[email protected]>
;; Keywords:

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand All @@ -26,7 +25,7 @@
(require 'gptel)
(require 'cl-generic)
(require 'map)
(require 'cl-macs)
(eval-when-compile (require 'cl-lib))

(declare-function prop-match-value "text-property-search")
(declare-function text-property-search-backward "text-property-search")
Expand Down
1 change: 0 additions & 1 deletion gptel-openai.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
;; Copyright (C) 2023 Karthik Chikmagalur

;; Author: Karthik Chikmagalur <[email protected]>
;; Keywords:

;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion gptel-transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ This uses the prompts in the variable
nil t)))
(when-let ((prompt (gethash choice gptel--crowdsourced-prompts)))
(setq gptel--system-message prompt)
(gptel--suffix-system-message)))
(call-interactively #'gptel--suffix-system-message)))
(message "No prompts available.")))

(transient-define-suffix gptel--suffix-system-message ()
Expand Down

0 comments on commit e535738

Please sign in to comment.