branch: elpa/aidermacs commit a7078cfc7bfd28c0e2ef4b802dfb4b2b13e830ba Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Fix linting --- aidermacs-backends.el | 5 ++--- aidermacs.el | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/aidermacs-backends.el b/aidermacs-backends.el index bb2851242d..d87d682498 100644 --- a/aidermacs-backends.el +++ b/aidermacs-backends.el @@ -231,11 +231,10 @@ and is using either comint or vterm mode." (and (fboundp 'vterm-mode) (derived-mode-p 'vterm-mode))))))) -(defun aidermacs--send-command-backend (buffer command &optional redirect callback) +(defun aidermacs--send-command-backend (buffer command &optional redirect) "Send command to buffer using the appropriate backend. BUFFER is the target buffer. COMMAND is the text to send. -If REDIRECT is non-nil it redirects the output (hidden) for comint backend. -If CALLBACK is non-nil it will be called after the command finishes." +If REDIRECT is non-nil it redirects the output (hidden) for comint backend." (if (eq aidermacs-backend 'vterm) (aidermacs--send-command-vterm buffer command) (if redirect diff --git a/aidermacs.el b/aidermacs.el index f172d97e31..32c1dbe05a 100644 --- a/aidermacs.el +++ b/aidermacs.el @@ -1,4 +1,4 @@ -;;; aidermacs.el --- AI pair programming with Aider in Emacs -*- lexical-binding: t; -*- +;;; aidermacs.el --- AI pair programming with Aider -*- lexical-binding: t; -*- ;; Author: Mingde (Matthew) Zeng <matthew...@posteo.net> ;; Version: 1.0.0 ;; Package-Requires: ((emacs "28.1"))