diff options
author | Tassilo Horn <tassilo@member.fsf.org> | 2007-08-02 20:07:00 +0000 |
---|---|---|
committer | Tassilo Horn <tassilo@member.fsf.org> | 2007-08-02 20:07:00 +0000 |
commit | 62d77cbf6168261d67e037473f5ca600359dca93 (patch) | |
tree | 1cdba15e066a0f871aa3c526c780d2394191c9e1 | |
parent | a77d0543f55ee0c6dda07f43cee68c5d52c76981 (diff) |
make-S-prefix-key-for-sorting-functions.dpatch
darcs-hash:20070802200758-c06f4-060512f35899d2224b3febca6b3c03a792efce84.gz
-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 |