branch: elpa/gptel
commit ab86f3405ff448023f2ec5c804e2e055b1be8df4
Author: Karthik Chikmagalur <[email protected]>
Commit: Karthik Chikmagalur <[email protected]>
gptel: Linting
* gptel.el (markdown-link-at-pos, gptel--inherit-stickiness):
Linting changes.
---
gptel.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gptel.el b/gptel.el
index bdec301bb23..a6aca95ac39 100644
--- a/gptel.el
+++ b/gptel.el
@@ -208,6 +208,8 @@
(define-obsolete-function-alias
'gptel-set-topic 'gptel-org-set-topic "0.7.5")
+(declare-function markdown-link-at-pos "markdown-mode")
+
(eval-when-compile
(require 'subr-x))
(require 'cl-lib)
@@ -638,7 +640,7 @@ file."
;; NOTE: It's not clear that this is the best strategy:
(add-to-list 'text-property-default-nonsticky '(gptel . t))
-(defun gptel--inherit-stickiness (beg end pre)
+(defun gptel--inherit-stickiness (beg end _pre)
"Mark any change to an LLM response region as a response.
Intended to be added to `after-change-functions' in gptel chat buffers,