diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-15 14:08:47 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-15 14:08:47 -0600 |
| commit | fa7df5ee109e50e5d67b7d06c2558ea018042c9c (patch) | |
| tree | f3b0f2019fd26fb93730215a9a2057c3583d6ea5 /modules/system-utils.el | |
| parent | 4871826f62a60e3953478f9d071e5b35825d1538 (diff) | |
| download | dotemacs-fa7df5ee109e50e5d67b7d06c2558ea018042c9c.tar.gz dotemacs-fa7df5ee109e50e5d67b7d06c2558ea018042c9c.zip | |
fix(tests): Move cj/log-silently to system-lib.el, fix all test failures
Consolidated cj/log-silently function to system-lib.el as the canonical
location for low-level utility functions. This fixes 4 failing tests in
video-audio-recording that couldn't find the function.
Changes:
- Move cj/log-silently to system-lib.el (from system-utils.el)
- Remove duplicate definition from org-agenda-config-debug.el
- Remove duplicate definition from system-utils.el
- Add (require 'system-lib) to all modules using cj/log-silently:
- video-audio-recording.el
- org-agenda-config-debug.el
- media-utils.el (also removed declare-function)
- elfeed-config.el (replaced system-utils with system-lib)
- wrap-up.el
Test Results:
- Before: 112/113 passing (4 video-audio-recording tests failing)
- After: 113/113 passing ✓
All tests now pass with zero failures.
Fixes TODO #809-895 (move cj/log-silently to system-lib.el)
Diffstat (limited to 'modules/system-utils.el')
| -rw-r--r-- | modules/system-utils.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/system-utils.el b/modules/system-utils.el index d20dd3491..2ee7200cb 100644 --- a/modules/system-utils.el +++ b/modules/system-utils.el @@ -211,18 +211,6 @@ Logs output and exit code to buffer *external-open.log*." (quick-sdcv-dictionary-prefix-symbol "►") (quick-sdcv-ellipsis " ▼")) -;;; -------------------------------- Log Silently ------------------------------- - -(defun cj/log-silently (format-string &rest args) - "Append formatted message (FORMAT-STRING with ARGS) to *Messages* buffer. -This does so without echoing in the minibuffer." - (let ((inhibit-read-only t)) - (with-current-buffer (get-buffer-create "*Messages*") - (goto-char (point-max)) - (unless (bolp) (insert "\n")) - (insert (apply #'format format-string args)) - (unless (bolp) (insert "\n"))))) - ;;; ------------------------------ Process Monitor ------------------------------ (use-package proced |
