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
commit5532dcec207a940ad6d854f6ebbb20c228d97327 (patch)
tree0268e4c0dfd9a459a465a47cee72be8a4f1a531e /modules
parentb5a5beb7ab0abe0e2efecdd18619f80664e974a2 (diff)
downloaddotemacs-5532dcec207a940ad6d854f6ebbb20c228d97327.tar.gz
dotemacs-5532dcec207a940ad6d854f6ebbb20c228d97327.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