branch: externals/ampc
commit 627d4830d5bb49d048500ae196065cebdf409406
Author: Christopher Schmidt <christop...@ch.ristopher.com>
Commit: Christopher Schmidt <christop...@ch.ristopher.com>

    * ampc.el (ampc-mode-map): Add stop/next/previous menu items.
---
 ampc.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ampc.el b/ampc.el
index f4ddff87c2..4bc8267812 100644
--- a/ampc.el
+++ b/ampc.el
@@ -450,6 +450,11 @@ all the time!"
     ["Pause" ampc-toggle-play
      :visible (and ampc-status
                    (equal (cdr (assq 'state ampc-status)) "play"))]
+    ["Stop" (lambda () (interactive) (ampc-toggle-play 4))
+     :visible (and ampc-status
+                   (equal (cdr (assq 'state ampc-status)) "play"))]
+    ["Next" ampc-next]
+    ["Previous" ampc-previous]
     "--"
     ["Clear playlist" ampc-clear]
     ["Shuffle playlist" ampc-shuffle]

Reply via email to