blob: add22e8a148813a04df8ed1c39f1df73f6fde71f (
plain)
1
2
3
4
5
6
|
(define-command-global start-slynk (&optional (slynk-port *swank-port*))
"Start a Slynk server that can be connected to, for instance, in Emacs via SLY.
Warning: This allows Nyxt to be controlled remotely, that is, to execute arbitrary code with the priviledges of the user running Nyxt. Make sure you understand the security rirks associated with this before running this command."
(slynk:create-server :port slynk-port :dont-close t)
(echo "Slynk server started at port ~a" slynk-port))
|