aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mpd.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 7b6cf24..1fd15f7 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -137,8 +137,9 @@ or nil if we cannot figure it out."
(while (car out)
(cond ((string= (car out) "Supported formats:")
(setq found-start t))
- ((and found-start
- (not (string= (car out) "")))
+ ((string= (car out) "")
+ (setq found-start nil))
+ (found-start
(setq supported (concat supported (car out)))))
(setq out (cdr out)))
;; Create regexp