diff options
author | Michael Olson <mwolson@gnu.org> | 2006-10-28 04:21:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-10-28 04:21:00 +0000 |
commit | 59cc07ba42ed34d1aa83c01fec576d93cdb903d6 (patch) | |
tree | f43331887430ec9192e5bfe334233e0087db356b | |
parent | 189556320ffc56d9489fb68f217707855757702c (diff) |
emms-player-mpd: Deal with change in output when getting supported file types
darcs-hash:20061028042119-1bfb2-ac4774e6e82e7c4a15626c99d33efaa378d5e5a0.gz
-rw-r--r-- | emms-player-mpd.el | 5 |
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 |