aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 17:38:01 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 17:38:01 -0400
commit3104d3ccbe9a32138b2e6f5d5c819680bfe002ec (patch)
tree1f56390e4e4953daa4c96d67f83dbf3b75c25029 /modules
parent39f0d77514db3bf4c7d2a93d111b8504074b5abf (diff)
downloaddotemacs-3104d3ccbe9a32138b2e6f5d5c819680bfe002ec.tar.gz
dotemacs-3104d3ccbe9a32138b2e6f5d5c819680bfe002ec.zip
feat(term): close the EAT buffer when its shell exits
Set eat-kill-buffer-on-exit so exiting the shell (exit, C-d) kills the EAT buffer instead of leaving a dead terminal around, matching the ghostel-kill-buffer-on-exit behavior.
Diffstat (limited to 'modules')
-rw-r--r--modules/term-config.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/term-config.el b/modules/term-config.el
index 7af465a71..474a85c42 100644
--- a/modules/term-config.el
+++ b/modules/term-config.el
@@ -330,6 +330,9 @@ run its own project-named tmux session instead of a bare, auto-named one.
:ensure t
:commands (eat)
:hook (eat-mode . cj/turn-off-chrome-for-term)
+ :custom
+ ;; Close the EAT buffer when its shell exits (mirrors ghostel-kill-buffer-on-exit).
+ (eat-kill-buffer-on-exit t)
:config
;; F12 and C-; must reach Emacs from inside EAT. In semi-char mode (EAT's
;; default) EAT forwards unbound keys to the terminal -- a letter runs