From e9cfafc1da50e7ea469a3ed58add63b7785f09ae Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sat, 1 Apr 2006 19:04:00 +0000 Subject: emms-player-mpd: Use simpler value for connect function. darcs-hash:20060401190427-1bfb2-b1a08aa97de633cb891a4601d9ecf8f2015a4262.gz --- emms-player-mpd.el | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'emms-player-mpd.el') 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) -- cgit v1.2.3