aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-player-mpd.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 603a0f8..e014aa0 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -146,8 +146,7 @@ or nil if we cannot figure it out."
(when (and (stringp supported)
(not (string= supported "")))
(concat "\\`http://\\|\\.\\(m3u\\|pls\\|"
- (mapconcat 'identity (delq nil (split-string supported))
- "\\|")
+ (regexp-opt (delq nil (split-string supported)))
"\\)\\'"))))
(defcustom emms-player-mpd-supported-regexp