diff options
author | Daimrod <daimrod@gmail.com> | 2013-05-30 14:09:26 +0200 |
---|---|---|
committer | Lucas Bonnet <lbonnet@bearstech.com> | 2013-05-30 18:19:50 +0200 |
commit | c763540c3473e06405825d6f1679f97b99567de9 (patch) | |
tree | 6036ed4c120b8f835d264d5857dd53f0343d7866 /lisp | |
parent | a8563e6d3f80c26434e61752e2e43420bfcdd81b (diff) |
Play tracks randomly
[[PGP Signed Part:Undecided]]
Lucas Bonnet <lucas@rincevent.net> writes:
> Yoni Rabkin <yoni@rabkins.net> writes:
>
>> Daimrod <daimrod@gmail.com> writes:
>>
>>> Yoni Rabkin <yoni@rabkins.net> writes:
>>>
>>>> Daimrod <daimrod@gmail.com> writes:
>>>>
>>>>> Hello,
>>>>>
>>>>> I've attached a small patch which adds `emms-toggle-random-playlist'. It
>>>>> sets `emms-player-next-function' to either `emms-next-noerror' or
>>>>> `emms-random'.
>>>>
>>>> How is this different from running M-x emms-shuffle on the playlist?
>>>
>>> I agree they're close, but this one doesn't shuffle the playlist and it
>>> persists when the playlist is changed.
>>
>> I certainly have no problem with it; I was just making sure you were
>> aware of emms-shuffle.
>>
>> If Lucas is fine with installing it (I don't think it needs assignment
>> papers) I would ask that you please also send in a patch to the manual
>> documenting this change.
>
> I'd say it's small enough to fly below the copyright papers radar :)
>
> Thanks for your patch!
>
> Regards,
Oops, there is a small typo in the patch, here is the fix. Sorry for the
inconvenience.
[2. text/x-diff; 0001-lisp-emms.el-emms-toggle-random-playlist-Fix-typo-in.patch]
From 33041798b58d68f76cd8006915bb153a94769e9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20Jadi?= <gregoire.jadi@gmail.com>
Date: Thu, 30 May 2013 14:07:58 +0200
Subject: [PATCH] lisp/emms.el (emms-toggle-random-playlist): Fix typo in code
* lisp/emms.el (emms-toggle-random-playlist): Fix typo in code.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emms.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms.el b/lisp/emms.el index 81bd80c..d976017 100644 --- a/lisp/emms.el +++ b/lisp/emms.el @@ -501,7 +501,7 @@ See `emms-random-playlist'." (if emms-random-playlist (progn (setq emms-player-next-function 'emms-random) (message "Will play the tracks randomly.")) - (setq emms-play-next-function 'emms-next-noerror) + (setq emms-player-next-function 'emms-next-noerror) (message "Will play the tracks sequentially."))) (defun emms-toggle-repeat-playlist () |