diff options
author | Tom Willemse | 2022-02-09 01:11:18 -0800 |
---|---|---|
committer | Tom Willemse | 2022-02-09 01:11:18 -0800 |
commit | 629a644c398df438b19065996025ae3bf01f5e89 (patch) | |
tree | 516994c6223fa41a2473c76e741c62f5e0a333f5 | |
parent | 56978223eb8f9f7de774a18f62023c5f6ecc31ee (diff) | |
download | new-dotfiles-629a644c398df438b19065996025ae3bf01f5e89.tar.gz new-dotfiles-629a644c398df438b19065996025ae3bf01f5e89.zip |
[nyxt] Protect against trying to start swank multiple times
-rw-r--r-- | nyxt/.config/nyxt/init.lisp.org | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nyxt/.config/nyxt/init.lisp.org b/nyxt/.config/nyxt/init.lisp.org index 484d8ff..ce1ec07 100644 --- a/nyxt/.config/nyxt/init.lisp.org +++ b/nyxt/.config/nyxt/init.lisp.org @@ -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. #+begin_src lisp - (start-swank) + (defvar *init-swank-started* nil) + + (unless *init-swank-started* + (start-swank) + (setf *init-swank-started* t)) #+end_src |