Commit Diff


commit - 2310c694ae5bed4876e73487b1e148b8f33f905a
commit + ee48b410599704fcf8c18024e2cf1cda7b11b5f5
blob - ea5413e6db6edb19309107661d011aac93e60913
blob + d6069c4806c43d213fc995249b1ac084f4fb56c9
--- sndio.el
+++ sndio.el
@@ -45,7 +45,8 @@
   (with-current-buffer "*sndio*"
     (let ((inhibit-read-only t))
       (erase-buffer)
-      (process-file sndio-sndioctl-cmd nil (current-buffer) nil))))
+      (process-file sndio-sndioctl-cmd nil (current-buffer) nil)
+      (goto-char (point-min)))))
 
 (defun sndio--run (&rest args)
   "Run `sndio-sndioctl-cmd' with ARGS yielding its output."