From: 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-Tag: channel-coding-branchpoint~50 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d12de5de15b34acee1674dca14336e7c3c028037;p=elisp%2Friece.git 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 ()