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 --- README.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 510eebb..fb8b085 100644 --- a/README.org +++ b/README.org @@ -280,7 +280,7 @@ If wttrin isn't working as expected, enable debug mode to see detailed logging o Once debug mode is enabled, you can view the debug log: #+begin_src emacs-lisp - M-x wttrin--debug-show-log + M-x wttrin-debug-show-log #+end_src This shows a timestamped log of all wttrin operations: @@ -304,7 +304,7 @@ When working correctly, the debug log looks like: *** Common Issues - *xterm-color missing*: Ensure xterm-color is installed (`M-x package-install RET xterm-color`) - *Debug not working*: Remember to set `wttrin-debug t` *before* loading wttrin -- *Mode-line not showing*: Check `M-x wttrin--debug-show-log` to see if fetch succeeded +- *Mode-line not showing*: Check `M-x wttrin-debug-show-log` to see if fetch succeeded - *No network access*: Debug log will show "Network error" messages ** History -- cgit v1.2.3