summaryrefslogtreecommitdiff
path: root/tests/test-wttrin-integration-with-debug.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-08 12:12:52 -0600
committerCraig Jennings <c@cjennings.net>2025-11-08 12:12:52 -0600
commit04b11059b831c94b4e5ba901b735fcc888cbbe1a (patch)
tree06051abaed3c4e1b79f2a0e10447c7c80649d268 /tests/test-wttrin-integration-with-debug.el
parent29b559bd1a956a4efdec625f1b5d878503d46a33 (diff)
downloademacs-wttrin-04b11059b831c94b4e5ba901b735fcc888cbbe1a.tar.gz
emacs-wttrin-04b11059b831c94b4e5ba901b735fcc888cbbe1a.zip
refactor: make debug functions public (single hyphen naming)
Renamed private debug functions to public API: - wttrin--debug-show-log → wttrin-debug-show-log - wttrin--debug-clear-log → wttrin-debug-clear-log Added ;;;###autoload to both functions for proper autoloading. Updated all references: - README.org (2 occurrences) - tests/README-DEBUG-TESTS.md (4 occurrences) - tests/test-wttrin-integration-with-debug.el (8 occurrences) These are user-facing commands that should be discoverable via M-x, so they follow the public API naming convention (single hyphen). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'tests/test-wttrin-integration-with-debug.el')
-rw-r--r--tests/test-wttrin-integration-with-debug.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-wttrin-integration-with-debug.el b/tests/test-wttrin-integration-with-debug.el
index db4e05f..9f50df2 100644
--- a/tests/test-wttrin-integration-with-debug.el
+++ b/tests/test-wttrin-integration-with-debug.el
@@ -37,7 +37,7 @@
(setq wttrin-debug t)
;; Clear any existing debug log
(when (featurep 'wttrin-debug)
- (wttrin--debug-clear-log))
+ (wttrin-debug-clear-log))
;; Clear cache
(wttrin-clear-cache)
;; Set test configuration
@@ -51,7 +51,7 @@
(wttrin-mode-line-mode -1))
(wttrin-clear-cache)
(when (featurep 'wttrin-debug)
- (wttrin--debug-clear-log))
+ (wttrin-debug-clear-log))
(setq wttrin-mode-line-string nil)
(setq wttrin--mode-line-tooltip-data nil))