diff options
author | Michael Olson <mwolson@gnu.org> | 2006-08-25 20:32:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-08-25 20:32:00 +0000 |
commit | 170f12730093f8a42981c926ff62c5e2df93ffac (patch) | |
tree | 89de8da46bf3f322063bb59980e26a08b9196396 | |
parent | fa598825e414642e9092f93cde236052c7141827 (diff) |
emms-player-mpd: Use regexp-opt instead of mapconcat.
darcs-hash:20060825203258-1bfb2-8be4ed4794be6581c6a1b65dfbbfdc991a826225.gz
-rw-r--r-- | emms-player-mpd.el | 3 |
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 |