Lucas Bonnet <[email protected]> writes:

> Yoni Rabkin <[email protected]> writes:
>
>> Daimrod <[email protected]> writes:
>>
>>> Yoni Rabkin <[email protected]> writes:
>>>
>>>> Daimrod <[email protected]> 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.

From 33041798b58d68f76cd8006915bb153a94769e9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9goire=20Jadi?= <[email protected]>
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.
---
 lisp/emms.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ()
-- 
1.8.0.2722.gc0242e5

-- 
Daimrod/Greg

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to