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)