diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-20 07:54:30 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-20 07:54:30 -0500 |
| commit | 836b386e0a19fe49d35a65ea4d0faa63e6d6e1d2 (patch) | |
| tree | 5dab5cca31be760c989ab897f4fbecb3f25a991f /modules | |
| parent | 955f92ba7e159d0b70cbb279507e9c4e44eda1d2 (diff) | |
| download | dotemacs-836b386e0a19fe49d35a65ea4d0faa63e6d6e1d2.tar.gz dotemacs-836b386e0a19fe49d35a65ea4d0faa63e6d6e1d2.zip | |
refactor: drop unreachable nil after user-error in recording checks
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/video-audio-recording-capture.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/video-audio-recording-capture.el b/modules/video-audio-recording-capture.el index 5e7860fc..7b71d54f 100644 --- a/modules/video-audio-recording-capture.el +++ b/modules/video-audio-recording-capture.el @@ -147,8 +147,7 @@ process started before the property existed) or the file never hit disk." (defun cj/recording-check-ffmpeg () "Check if ffmpeg is available. Error if not found." (unless (executable-find "ffmpeg") - (user-error "Ffmpeg not found. Install with: sudo pacman -S ffmpeg") - nil) + (user-error "Ffmpeg not found. Install with: sudo pacman -S ffmpeg")) t) (defun cj/recording--wayland-p () @@ -159,8 +158,7 @@ process started before the property existed) or the file never hit disk." "Check if wf-recorder is available (needed for Wayland video capture)." (if (executable-find "wf-recorder") t - (user-error "wf-recorder not found. Install with: sudo pacman -S wf-recorder") - nil)) + (user-error "wf-recorder not found. Install with: sudo pacman -S wf-recorder"))) ;;; Device Acquisition and Validation |
