summaryrefslogtreecommitdiff
path: root/README.org
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 /README.org
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 'README.org')
-rw-r--r--README.org4
1 files changed, 2 insertions, 2 deletions
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