[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master a7e6637: Add bindings and menu items for prev and n
From: |
Mark Oteiza |
Subject: |
[Emacs-diffs] master a7e6637: Add bindings and menu items for prev and next tracks |
Date: |
Wed, 14 Oct 2015 02:28:00 +0000 |
branch: master
commit a7e6637162827a09c13e72a49412b3ab915cf473
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>
Add bindings and menu items for prev and next tracks
* lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
"<" to mpc-prev.
(mpc-mode-menu): Add corresponding menu items
---
lisp/mpc.el | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lisp/mpc.el b/lisp/mpc.el
index 2142529..7d684d2 100644
--- a/lisp/mpc.el
+++ b/lisp/mpc.el
@@ -1109,12 +1109,16 @@ If PLAYLIST is t or nil or missing, use the main
playlist."
;; is applied elsewhere :-(
;; (define-key map [(double mouse-2)] 'mpc-play-at-point)
(define-key map "p" 'mpc-pause)
+ (define-key map ">" 'mpc-next)
+ (define-key map "<" 'mpc-prev)
(define-key map "g" nil)
map))
(easy-menu-define mpc-mode-menu mpc-mode-map
"Menu for MPC.el."
'("MPC.el"
+ ["Next track" mpc-next]
+ ["Previous track" mpc-prev]
["Add new browser" mpc-tagbrowser]
["Update DB" mpc-update]
["Quit" mpc-quit]))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master a7e6637: Add bindings and menu items for prev and next tracks,
Mark Oteiza <=