commit 49269bd9835450021e0b480749ab75f90c987b38 from: Omar Polo date: Sun Nov 14 19:01:16 2021 UTC error if the sndioctl cmd is not found commit - e30060d141f38fda375256c4907cf1db6d59656d commit + 49269bd9835450021e0b480749ab75f90c987b38 blob - 404c6864ad24c98ed31c2c96efdd5b7bab50765b blob + d68a716a3d6bae61707f6db2b13c40e442dca2a2 --- sndio.el +++ sndio.el @@ -67,6 +67,9 @@ (defun sndio-update () "Update the current sndio buffer." (interactive) + (unless (executable-find sndio-sndioctl-cmd) + (user-error "Can't find executable %s, is sndio installed?" + sndio-sndioctl-cmd)) (when (derived-mode-p 'sndio-mode) (let ((inhibit-read-only t)) (erase-buffer)