Throw an error if Emacs does not have make-network-process.
authorueno <ueno>
Fri, 26 Aug 2005 08:42:54 +0000 (08:42 +0000)
committerueno <ueno>
Fri, 26 Aug 2005 08:42:54 +0000 (08:42 +0000)
lisp/riece-ndcc.el

index c865df5..72301f8 100644 (file)
@@ -232,6 +232,8 @@ Only used for sending files."
 
 (defvar riece-dialogue-mode-map)
 (defun riece-ndcc-insinuate ()
+  (unless (fboundp 'make-network-process)
+    (error "This Emacs does not have make-network-process"))
   (add-hook 'riece-ctcp-dcc-request-hook 'riece-handle-dcc-request))
 
 (defun riece-ndcc-uninstall ()