From: Daiki Ueno Date: Fri, 26 Aug 2005 08:42:54 +0000 (+0000) Subject: Throw an error if Emacs does not have make-network-process. X-Git-Url: http://cgit.sxemacs.org/?p=riece;a=commitdiff_plain;h=b95c95204cee8e2a1985341ccd5b5cf3798612c0 Throw an error if Emacs does not have make-network-process. --- diff --git a/lisp/riece-ndcc.el b/lisp/riece-ndcc.el index c865df5..72301f8 100644 --- a/lisp/riece-ndcc.el +++ b/lisp/riece-ndcc.el @@ -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 ()