aboutsummaryrefslogtreecommitdiff
path: root/emms-player-mpd.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-04-01 19:04:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-04-01 19:04:00 +0000
commite9cfafc1da50e7ea469a3ed58add63b7785f09ae (patch)
treee135cc15c4305b15be2c113a513cb8ab168e5fa5 /emms-player-mpd.el
parentfd8f2d49c6dff5b2be10bf1c67332d6e2f6e357c (diff)
emms-player-mpd: Use simpler value for connect function.
darcs-hash:20060401190427-1bfb2-b1a08aa97de633cb891a4601d9ecf8f2015a4262.gz
Diffstat (limited to 'emms-player-mpd.el')
-rw-r--r--emms-player-mpd.el12
1 files changed, 2 insertions, 10 deletions
diff --git a/emms-player-mpd.el b/emms-player-mpd.el
index 16e8c8b..176d50d 100644
--- a/emms-player-mpd.el
+++ b/emms-player-mpd.el
@@ -127,17 +127,9 @@ leave it set to nil."
directory)
:group 'emms-player-mpd)
-(defcustom emms-player-mpd-connect-function
- (if (and (fboundp 'open-network-stream-nowait)
- ;; CVS Emacs claims to define open-network-stream-nowait on
- ;; windows, however, it does, in fact, not work.
- (not (memq system-type '(windows-nt cygwin ms-dos darwin))))
- 'open-network-stream-nowait
- 'open-network-stream)
+(defcustom emms-player-mpd-connect-function 'open-network-stream
"Function used to initiate the connection to MusicPD.
-It should take same arguments as `open-network-stream' does.
-
-This will usually be auto-detected correctly."
+It should take same arguments as `open-network-stream' does."
:type 'function
:group 'emms-player-mpd)