Commit Diff


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)