branch: elpa/eat
commit 328c9d629d2c4abfd75805cbd984fa531063245a
Author: Akib Azmain Turja <a...@disroot.org>
Commit: Akib Azmain Turja <a...@disroot.org>

    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.
---
 eat.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eat.el b/eat.el
index 7977c062e6..caa9e01195 100644
--- a/eat.el
+++ b/eat.el
@@ -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."

Reply via email to