aboutsummaryrefslogtreecommitdiff
path: root/modules/video-audio-recording-capture.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-24 16:23:34 -0500
committerCraig Jennings <c@cjennings.net>2026-07-24 16:23:34 -0500
commitcb08bf8754b09222081a571dc4134d5568d61012 (patch)
treead068dc2062d2d17773309c932c38afaa63e7fa3 /modules/video-audio-recording-capture.el
parentc24dbe25d25bee514393b54bc3cbd5e7d638fd9b (diff)
downloaddotemacs-cb08bf8754b09222081a571dc4134d5568d61012.tar.gz
dotemacs-cb08bf8754b09222081a571dc4134d5568d61012.zip
refactor: clear six byte-compile warnings across four modules
- org-agenda-frame declared two of its own functions with declare-function. - Same-file forward refs resolve at end of compile, so those were redundant. - Worse, the declared empty arglist overrode safe-redo's real (&optional frame). - That silently disabled arg-count checking on it; removed both declarations. - music-config and video-audio-recording referenced three vars before their defvars. - Added forward declarations so each compiles as a dynamic binding. - dashboard declared el special, which made the section macro's own binding shadow it. - Removed that declaration; el is the macro's lexical binding and resolves cleanly. - Declared wttrin, the last undefined-function reference in the launcher table.
Diffstat (limited to 'modules/video-audio-recording-capture.el')
-rw-r--r--modules/video-audio-recording-capture.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/video-audio-recording-capture.el b/modules/video-audio-recording-capture.el
index 7b71d54f..a56a5906 100644
--- a/modules/video-audio-recording-capture.el
+++ b/modules/video-audio-recording-capture.el
@@ -56,6 +56,10 @@ Checks if process is actually alive, not just if variable is set."
;;; Process Lifecycle (Sentinel and Graceful Shutdown)
+;; Forward declaration: the real `defvar' is defined below with the other
+;; recording thresholds. Declared special here so this reference compiles clean.
+(defvar cj/recording-start-fail-threshold)
+
(defun cj/recording-process-sentinel (process event)
"Sentinel for recording processes — handles unexpected exits.
PROCESS is the ffmpeg shell process, EVENT describes what happened.