From 32bd049d68fa6659ae3b5b2923b6233be31ee6f5 Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Wed, 27 Sep 2023 13:12:09 +0600 Subject: [PATCH] Handle output correctly in emacs mode in Eshell * eat.el (eat--eshell-output-filter): Inhibit read only. --- eat.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eat.el b/eat.el index 401ba7b..73ba772 100644 --- a/eat.el +++ b/eat.el @@ -7257,7 +7257,8 @@ PROGRAM can be a shell command." eshell-last-output-end))) (let ((inhibit-read-only t)) (delete-region eshell-last-output-start eshell-last-output-end)) - (let ((sync-windows (eat--synchronize-scroll-windows))) + (let ((sync-windows (eat--synchronize-scroll-windows)) + (inhibit-read-only t)) (eat-term-process-output eat-terminal str) (eat-term-redisplay eat-terminal) (funcall eat--synchronize-scroll-function sync-windows))