Run eat-eshell-exec-hook as Eshell process is run

* eat.el (eat--eshell-setup-proc-and-term): Run
'eat-eshell-exec-hook' at the very end.
This commit is contained in:
Akib Azmain Turja 2022-12-28 21:35:39 +06:00
parent 63f23b3e50
commit 328c9d629d
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

3
eat.el
View file

@ -5582,7 +5582,8 @@ PROGRAM can be a shell command."
(setq-local eshell-output-filter-functions
'(eat--eshell-output-filter))
(eat--eshell-process-running-mode +1)
(eat-eshell-semi-char-mode)))
(eat-eshell-semi-char-mode)
(run-hooks 'eat-eshell-exec-hook)))
(defun eat--eshell-cleanup ()
"Cleanup everything."