Kill the process when closing the result buffer

This commit is contained in:
TEC 2021-07-30 00:00:29 +08:00
parent 64c695024c
commit 26c7cdac16
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ Using `lexic-current-dictionary-list' and `lexic-dictionary-path'."
(defun lexic-return-from-lexic ()
"Bury lexic buffer and restore the previous window configuration."
(interactive)
(kill-process (get-process lexic-process-name))
(if (window-configuration-p lexic-previous-window-conf)
(progn
(set-window-configuration lexic-previous-window-conf)