From 59cc07ba42ed34d1aa83c01fec576d93cdb903d6 Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 28 Oct 2006 04:21:00 +0000 Subject: emms-player-mpd: Deal with change in output when getting supported file types darcs-hash:20061028042119-1bfb2-ac4774e6e82e7c4a15626c99d33efaa378d5e5a0.gz --- emms-player-mpd.el | 5 +++-- 1 file 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 -- cgit v1.2.3