From 3104d3ccbe9a32138b2e6f5d5c819680bfe002ec Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 25 Jun 2026 17:38:01 -0400 Subject: 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. --- modules/term-config.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/term-config.el') 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 -- cgit v1.2.3