mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Fix khoj.el compilation warnings around unused variables
This commit is contained in:
@@ -282,7 +282,7 @@ Auto invokes setup steps on calling main entrypoint."
|
|||||||
:name khoj--server-name
|
:name khoj--server-name
|
||||||
:buffer khoj--server-name
|
:buffer khoj--server-name
|
||||||
:command (append (list khoj-server-command) server-args)
|
:command (append (list khoj-server-command) server-args)
|
||||||
:sentinel (lambda (process event)
|
:sentinel (lambda (_ event)
|
||||||
(message "khoj.el: khoj server stopped with: %s" event)
|
(message "khoj.el: khoj server stopped with: %s" event)
|
||||||
(setq khoj--server-ready? nil))
|
(setq khoj--server-ready? nil))
|
||||||
:filter (lambda (process msg)
|
:filter (lambda (process msg)
|
||||||
@@ -304,7 +304,7 @@ Auto invokes setup steps on calling main entrypoint."
|
|||||||
(string-match "main.py" msg)
|
(string-match "main.py" msg)
|
||||||
(string-match "api.py" msg)))
|
(string-match "api.py" msg)))
|
||||||
(dolist (line (split-string msg "\n"))
|
(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
|
;; call default process filter to write output to process buffer
|
||||||
(internal-default-process-filter process msg))))
|
(internal-default-process-filter process msg))))
|
||||||
(set-process-query-on-exit-flag khoj--server-process nil)
|
(set-process-query-on-exit-flag khoj--server-process nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user