diff options
-rw-r--r-- | emms-playlist-sort.el | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/emms-playlist-sort.el b/emms-playlist-sort.el index cddbd26..00398da 100644 --- a/emms-playlist-sort.el +++ b/emms-playlist-sort.el @@ -84,17 +84,15 @@ increasingly." (eval-after-load 'emms-playlist-mode '(progn - ;; Steal this key from emms-playlist-mode.. - (define-key emms-playlist-mode-map (kbd "s") nil) - (define-key emms-playlist-mode-map (kbd "s n") 'emms-playlist-sort-by-name) - (define-key emms-playlist-mode-map (kbd "s a") 'emms-playlist-sort-by-info-artist) - (define-key emms-playlist-mode-map (kbd "s t") 'emms-playlist-sort-by-info-title) - (define-key emms-playlist-mode-map (kbd "s b") 'emms-playlist-sort-by-info-album) - (define-key emms-playlist-mode-map (kbd "s y") 'emms-playlist-sort-by-info-year) - (define-key emms-playlist-mode-map (kbd "s o") 'emms-playlist-sort-by-info-note) - (define-key emms-playlist-mode-map (kbd "s N") 'emms-playlist-sort-by-natural-order) - (define-key emms-playlist-mode-map (kbd "s l") 'emms-playlist-sort-by-list) - (define-key emms-playlist-mode-map (kbd "s s") 'emms-playlist-sort-by-score))) + (define-key emms-playlist-mode-map (kbd "S n") 'emms-playlist-sort-by-name) + (define-key emms-playlist-mode-map (kbd "S a") 'emms-playlist-sort-by-info-artist) + (define-key emms-playlist-mode-map (kbd "S t") 'emms-playlist-sort-by-info-title) + (define-key emms-playlist-mode-map (kbd "S b") 'emms-playlist-sort-by-info-album) + (define-key emms-playlist-mode-map (kbd "S y") 'emms-playlist-sort-by-info-year) + (define-key emms-playlist-mode-map (kbd "S o") 'emms-playlist-sort-by-info-note) + (define-key emms-playlist-mode-map (kbd "S N") 'emms-playlist-sort-by-natural-order) + (define-key emms-playlist-mode-map (kbd "S l") 'emms-playlist-sort-by-list) + (define-key emms-playlist-mode-map (kbd "S s") 'emms-playlist-sort-by-score))) ;;; Low Level Functions |