aboutsummaryrefslogtreecommitdiff
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
commitc29009f47295e495602cc63bcd75caa40c2a2bed (patch)
treecfbd328737a1044b155db422780fac6c87ae6f8d
parent7b9c178eea1637120057c6b55b69c1cfd3ed9e94 (diff)
downloaddotemacs-c29009f47295e495602cc63bcd75caa40c2a2bed.tar.gz
dotemacs-c29009f47295e495602cc63bcd75caa40c2a2bed.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.
-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 7af465a7..474a85c4 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