mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Fix khoj.el compilation warnings around unused variables
This commit is contained in:
parent
8269adf849
commit
ceae06ae9d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue