[nyxt] Protect against trying to start swank multiple times

This commit is contained in:
Tom Willemse 2022-02-09 01:11:18 -08:00
parent 56978223eb
commit 629a644c39

View file

@ -121,5 +121,9 @@ Set up capturing URLs with org-capture in Emacs. From https://ag91.github.io/blo
Start Swank so I can connect to it through Emacs. Start Swank so I can connect to it through Emacs.
#+begin_src lisp #+begin_src lisp
(start-swank) (defvar *init-swank-started* nil)
(unless *init-swank-started*
(start-swank)
(setf *init-swank-started* t))
#+end_src #+end_src