aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRasmus <rasmus@gmx.us>2015-03-22 13:15:38 +0100
committerRasmus <rasmus@gmx.us>2015-03-22 13:15:38 +0100
commit7df41c3237a6e855d0568bf9b67642cab61a8184 (patch)
tree80b4074e6a799a359d1530abf840662b18a7658d /lisp
parent6bc53c76eadaee1ba37d6301c28ac987d77c0124 (diff)
emms-browser: fix bug in 9e48ab1a
move emms-volume directly to emms-browser mode map.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms-browser.el2
-rw-r--r--lisp/emms-volume.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emms-browser.el b/lisp/emms-browser.el
index b6d00c4..dab1428 100644
--- a/lisp/emms-browser.el
+++ b/lisp/emms-browser.el
@@ -484,6 +484,8 @@ Called once for each directory."
(define-key map (kbd "W a p") 'emms-browser-lookup-album-on-pitchfork)
(define-key map (kbd ">") 'emms-browser-next-filter)
(define-key map (kbd "<") 'emms-browser-previous-filter)
+ (define-key map (kbd "+") 'emms-volume-raise)
+ (define-key map (kbd "-") 'emms-volume-lower)
map)
"Keymap for `emms-browser-mode'.")
diff --git a/lisp/emms-volume.el b/lisp/emms-volume.el
index fb439b9..cca8d77 100644
--- a/lisp/emms-volume.el
+++ b/lisp/emms-volume.el
@@ -87,8 +87,6 @@ This should be a positive integer."
(define-key emms-playlist-mode-map (kbd "+") 'emms-volume-raise)
(define-key emms-playlist-mode-map (kbd "-") 'emms-volume-lower)
-(define-key emms-browser-mode-map (kbd "+") 'emms-volume-raise)
-(define-key emms-browser-mode-map (kbd "-") 'emms-volume-lower)
;; Code specific to the minor mode.
(define-minor-mode emms-volume-minor-mode