From a705f20563af5f901b5566e9a2de6b3f86bd69ca Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 30 Mar 2021 10:37:25 +0200 Subject: [PATCH] Nyxt: Use *run-from-repl-p* instead of *keep-alive*. --- .config/nyxt/slynk.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nyxt/slynk.lisp b/.config/nyxt/slynk.lisp index b0305327..53d4f648 100644 --- a/.config/nyxt/slynk.lisp +++ b/.config/nyxt/slynk.lisp @@ -10,5 +10,6 @@ before running this command." (echo "Slynk server started at port ~a" slynk-port)) ;; Start slynk by default. -(unless nyxt::*keep-alive* +;; WARNING: This triggers an error if another instance is already running at 4006. +(unless nyxt::*run-from-repl-p* (slynk:create-server :port 4006 :dont-close t))