diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-11-04 01:25:10 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-03-15 12:20:08 +0100 |
commit | c0b73fa26d0496783edbe613eb4be36eb205cb45 (patch) | |
tree | 4ea9235b90554884ed059c872942bb0c05cdf9c6 | |
parent | 1e5026c278854529f58097ead16c1554013bb408 (diff) |
feat: Kill Nyxt process to avoid hangups
-rw-r--r-- | nyxt.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -202,7 +202,10 @@ Optionally test if SYMBOL is bound." (defun nyxt-quit () "Quit the Nyxt process." (interactive) - (nyxt-run '(quit))) + (ignore-errors + (kill-process nyxt-process)) + (setq nyxt-process nil) + (setq nyxt-slynk-connection nil)) ;;;###autoload (cl-defun nyxt-capture (template &key (roam-p nil)) |