Handle output correctly in emacs mode in Eshell

* eat.el (eat--eshell-output-filter): Inhibit read only.
This commit is contained in:
Akib Azmain Turja 2023-09-27 13:12:09 +06:00
parent 7c1dde6f1a
commit 32bd049d68
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

3
eat.el
View file

@ -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))