[nyxt] Protect against trying to start swank multiple times
This commit is contained in:
parent
56978223eb
commit
629a644c39
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue