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.