branch: externals/coterm
commit 654e28668f930fe301dccc4fd77e989fc7b31372
Author: m <>
Commit: m <>

    Fix mistake in turning mode off
---
 coterm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/coterm.el b/coterm.el
index 1754728..3a7ac22 100644
--- a/coterm.el
+++ b/coterm.el
@@ -83,7 +83,7 @@ variables `coterm-term-name' and `coterm-termcap-format'."
 if [ $1 = .. ]; then shift; fi; exec \"$@\"" null-device)
                        ".." command switches))))
 
-    (remove-hook 'comint-exec-hook #'coterm--init)
+    (remove-hook 'comint-mode-hook #'coterm--init)
     (setq coterm-term-environment-function #'comint-term-environment)
     (setq coterm-start-process-function #'start-file-process)))
 

Reply via email to