summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Schmidt <christopher@ch.ristopher.com>2012-05-05 23:52:47 +0200
committerChristopher Schmidt <christopher@ch.ristopher.com>2012-05-05 23:52:47 +0200
commit40f82daa43699f8b1f916b45ee77f6cb8b84b0ef (patch)
tree96ed35c458fa3181e8fdca6c3544ac205e105114
parentaaa3477b7542daf6149a9fcd3dc2ff6ef45f38d5 (diff)
downloademacs-40f82daa43699f8b1f916b45ee77f6cb8b84b0ef.tar.gz
* ampc.el (ampc-mode-map): Add stop/next/previous menu items.
-rw-r--r--ampc.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/ampc.el b/ampc.el
index f4ddff87c2a..4bc82678120 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]