summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-06-01 03:14:37 +0100
committerjao <jao@gnu.org>2021-06-01 03:14:37 +0100
commitfa9ab587e9a9f57c9de17eec25809f972b61bc42 (patch)
tree7143b2538875d9ed53e0e68ca118d379de1d0412 /lib
parent3c6913a6d4fb0d89f3b40ad552c533473d0271c0 (diff)
downloadelibs-fa9ab587e9a9f57c9de17eec25809f972b61bc42.tar.gz
elibs-fa9ab587e9a9f57c9de17eec25809f972b61bc42.tar.bz2
mpc: fix for toggle and seek
Diffstat (limited to 'lib')
-rw-r--r--lib/media/jao-mpc.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el
index 5f70f15..4602a9d 100644
--- a/lib/media/jao-mpc.el
+++ b/lib/media/jao-mpc.el
@@ -170,7 +170,7 @@
;;;###autoload
(defun jao-mpc-toggle ()
(interactive)
- (jao-mpc--cmd "pause"))
+ (jao-mpc--cmd "toggle"))
;;;###autoload
(defun jao-mpc-play ()
@@ -189,8 +189,8 @@
;;;###autoload
(defun jao-mpc-seek (delta)
- (interactive "nDelta")
- (jao-mpc--cmd (format "seekcur %s%s" (if (> delta 0) "+" "") delta)))
+ (interactive "nDelta: ")
+ (jao-mpc--cmd (format "seek %s%s" (if (> delta 0) "+" "") delta)))
;;;###autoload
(defun jao-mpc-clear ()