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
commit0532d11c9c18cdb9ee90f0496c2fc147f9ab9362 (patch)
treeeadea36bf6a897ce5aba683f7db331ebb41bc260 /modules
parent478c7bcdfad154d7a5b8c7ed3c6a10c5a551d2cb (diff)
downloaddotemacs-0532d11c9c18cdb9ee90f0496c2fc147f9ab9362.tar.gz
dotemacs-0532d11c9c18cdb9ee90f0496c2fc147f9ab9362.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