aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emms.el b/emms.el
index 6986022..85fe0d8 100644
--- a/emms.el
+++ b/emms.el
@@ -648,7 +648,10 @@ See emms-source-file.el for some examples."
(defun emms-source-add (source &rest args)
"Add the tracks of SOURCE at the current position in the playlist."
- (apply 'emms-playlist-insert-source source args))
+ (apply 'emms-playlist-insert-source source args)
+ (with-current-emms-playlist
+ (when (not emms-playlist-selected-marker)
+ (emms-playlist-select-first))))
;;; User-defined playlists
;;; FIXME: These should be called "combined sources"