From c97815013365337396e1b36e4c6c8ff403b6be5a Mon Sep 17 00:00:00 2001 From: miranda Date: Tue, 18 Jun 2024 16:53:06 +0300 Subject: [PATCH] sclang-stop-command-process: clear sclang-command-process-previous --- el/sclang-interp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/el/sclang-interp.el b/el/sclang-interp.el index b836347..2176d68 100644 --- a/el/sclang-interp.el +++ b/el/sclang-interp.el @@ -428,7 +428,8 @@ Change this if \"cat\" has a non-standard name or location." (delete-process sclang-cmd-helper-proc)) ;; the real command process should now quit automatically, ;; since there is no more writers to the command fifo - (sclang-release-command-fifo)) + (sclang-release-command-fifo) + (setq sclang-command-process-previous nil)) (defvar sclang-command-process-previous nil "Unprocessed command process output.")