From f5a8ea39731c32755d6c3d76bbdf3d621a0f5388 Mon Sep 17 00:00:00 2001 From: nverno Date: Sun, 3 Dec 2023 19:21:04 -0800 Subject: [PATCH] Fix: add comint hook locally in lua-ts-inferior-lua * lisp/progmodes/lua-ts-mode.el(lua-ts-inferior-lua): Add comint-preoutput-filter-functions hook locally. --- lisp/progmodes/lua-ts-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 7307a5b13f1..13b6faa2950 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -576,7 +576,8 @@ lua-ts-inferior-lua (group (* nonl)))) "\\1" string) ;; Re-add the prompt for the next line. - lua-ts-inferior-prompt " ")))))) + lua-ts-inferior-prompt " "))) + nil t))) (select-window (display-buffer lua-ts-inferior-buffer '((display-buffer-reuse-window display-buffer-pop-up-frame) -- 2.34.1