From 04b11059b831c94b4e5ba901b735fcc888cbbe1a Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 8 Nov 2025 12:12:52 -0600 Subject: refactor: make debug functions public (single hyphen naming) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/test-wttrin-integration-with-debug.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-wttrin-integration-with-debug.el') 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)) -- cgit v1.2.3