summaryrefslogtreecommitdiff
path: root/modules/media-utils.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-11-15 14:08:47 -0600
committerCraig Jennings <c@cjennings.net>2025-11-15 14:08:47 -0600
commit740b35c483c966729f7b77a7bf6293b913da1202 (patch)
tree4d4685581ba7b49938c0d0c6d3ed8dc7ac32a62e /modules/media-utils.el
parent17b43738d86841877b514c313dc0fd761e49d099 (diff)
downloaddotemacs-740b35c483c966729f7b77a7bf6293b913da1202.tar.gz
dotemacs-740b35c483c966729f7b77a7bf6293b913da1202.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/media-utils.el')
-rw-r--r--modules/media-utils.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/media-utils.el b/modules/media-utils.el
index e4eccb5e..db66a71f 100644
--- a/modules/media-utils.el
+++ b/modules/media-utils.el
@@ -25,8 +25,9 @@
;;
;;; Code:
-;; Declare functions and variables from other modules
-(declare-function cj/log-silently "system-utils" (format-string &rest args))
+(require 'system-lib)
+
+;; Declare variables from other modules
(defvar videos-dir) ;; from user-constants.el
;; ------------------------ Default Media Configurations -----------------------