From d5ee498a1c0d2fa545cc8165750d24b454af54d4 Mon Sep 17 00:00:00 2001 From: forcer Date: Thu, 15 Sep 2005 19:50:00 +0000 Subject: emms-source-add now checks for an as of yet unset marker, too. darcs-hash:20050915195059-2189f-47156a6a913df1012caf07bc2b4b68309354334a.gz --- emms.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emms.el') diff --git a/emms.el b/emms.el index 683e4ae..64881e6 100644 --- a/emms.el +++ b/emms.el @@ -793,7 +793,8 @@ See emms-source-file.el for some examples." "Add the tracks of SOURCE at the current position in the playlist." (apply 'emms-playlist-insert-source source args) (with-current-emms-playlist - (when (not emms-playlist-selected-marker) + (when (or (not emms-playlist-selected-marker) + (not (marker-position emms-playlist-selected-marker))) (emms-playlist-select-first)))) ;;; User-defined playlists -- cgit v1.2.3