From d12de5de15b34acee1674dca14336e7c3c028037 Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 26 Aug 2005 08:42:54 +0000 Subject: [PATCH] Throw an error if Emacs does not have make-network-process. --- lisp/riece-ndcc.el | 2 ++ 1 file changed, 2 insertions(+) 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 () -- 1.7.10.4