aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emms.el b/emms.el
index b344dc7..ed38142 100644
--- a/emms.el
+++ b/emms.el
@@ -314,7 +314,7 @@ This is a suitable value for `emms-shuffle-function'."
(emms-playlist-kill-track))
(emms-playlist-shuffle (point-min)
(point-max))
- (if emms-player-playing-p
+ (if current
(progn
(goto-char (point-min))
(emms-playlist-insert-track current))