From 7df41c3237a6e855d0568bf9b67642cab61a8184 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sun, 22 Mar 2015 13:15:38 +0100 Subject: emms-browser: fix bug in 9e48ab1a move emms-volume directly to emms-browser mode map. --- lisp/emms-browser.el | 2 ++ lisp/emms-volume.el | 2 -- 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 -- cgit v1.2.3