From ceae06ae9d94160b9753180be3a79a9f93cb4368 Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 27 Apr 2023 20:43:43 +0800 Subject: [PATCH] Fix khoj.el compilation warnings around unused variables --- src/interface/emacs/khoj.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface/emacs/khoj.el b/src/interface/emacs/khoj.el index 1f8965da..076d9325 100644 --- a/src/interface/emacs/khoj.el +++ b/src/interface/emacs/khoj.el @@ -282,7 +282,7 @@ Auto invokes setup steps on calling main entrypoint." :name khoj--server-name :buffer khoj--server-name :command (append (list khoj-server-command) server-args) - :sentinel (lambda (process event) + :sentinel (lambda (_ event) (message "khoj.el: khoj server stopped with: %s" event) (setq khoj--server-ready? nil)) :filter (lambda (process msg) @@ -304,7 +304,7 @@ Auto invokes setup steps on calling main entrypoint." (string-match "main.py" msg) (string-match "api.py" msg))) (dolist (line (split-string msg "\n")) - (message "khoj.el: %s" (nth 1 (split-string msg " " t " *")))))) + (message "khoj.el: %s" (nth 1 (split-string line " " t " *")))))) ;; call default process filter to write output to process buffer (internal-default-process-filter process msg)))) (set-process-query-on-exit-flag khoj--server-process nil)