aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 22:00:48 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 22:00:48 -0400
commit69c74bbcd93f25e043608fb51cf42141d80438b9 (patch)
tree825f3c538f71e1d9c7cea113f94fdcd7d84cc3ef /tests
parent12639a80f8592cfc5f60d94203acbd058560b7c9 (diff)
downloaddotemacs-69c74bbcd93f25e043608fb51cf42141d80438b9.tar.gz
dotemacs-69c74bbcd93f25e043608fb51cf42141d80438b9.zip
refactor(term): extract eat-config.el from term-config.el
Move the eat use-package, the F12/C-; keymap wiring, and the F12 dock-and-remember toggle out of term-config.el into a dedicated eat-config.el. term-config.el keeps ghostel (ai-term's backend) and requires eat-config for cj/term-toggle and cj/turn-off-chrome-for-term. Pure relocation, no behavior change. First step toward consolidating on EAT and retiring ghostel. The toggle tests now require eat-config.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-term-toggle--buffer-filter.el2
-rw-r--r--tests/test-term-toggle--dispatch.el2
-rw-r--r--tests/test-term-toggle--display.el2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-term-toggle--buffer-filter.el b/tests/test-term-toggle--buffer-filter.el
index 44f30aad..4dae0c8d 100644
--- a/tests/test-term-toggle--buffer-filter.el
+++ b/tests/test-term-toggle--buffer-filter.el
@@ -14,7 +14,7 @@
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
(add-to-list 'load-path (expand-file-name "tests" user-emacs-directory))
-(require 'term-config)
+(require 'eat-config)
(require 'testutil-ghostel-buffers)
(defun test-term-toggle--cleanup ()
diff --git a/tests/test-term-toggle--dispatch.el b/tests/test-term-toggle--dispatch.el
index f13c2840..0d17395c 100644
--- a/tests/test-term-toggle--dispatch.el
+++ b/tests/test-term-toggle--dispatch.el
@@ -14,7 +14,7 @@
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
(add-to-list 'load-path (expand-file-name "tests" user-emacs-directory))
-(require 'term-config)
+(require 'eat-config)
(require 'testutil-ghostel-buffers)
(ert-deftest test-term-toggle--dispatch-window-displayed-returns-toggle-off ()
diff --git a/tests/test-term-toggle--display.el b/tests/test-term-toggle--display.el
index d6dd33da..d59d23b1 100644
--- a/tests/test-term-toggle--display.el
+++ b/tests/test-term-toggle--display.el
@@ -14,7 +14,7 @@
(require 'cl-lib)
(add-to-list 'load-path (expand-file-name "modules" user-emacs-directory))
-(require 'term-config)
+(require 'eat-config)
(ert-deftest test-term-toggle--capture-state-records-direction-and-size ()
"Normal: capture-state writes direction and integer size.