From e75e894bcc3da44c61a1d7588afb3f2b149afe4f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 17 Jun 2001 10:44:45 +0000 Subject: [PATCH] (ffap-machine-p): Always return nil if open-network-stream is not fboundp. --- lisp/ChangeLog | 5 +++++ lisp/ffap.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4d38a8fbea4..faede76c8ad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-06-17 Eli Zaretskii + + * ffap.el (ffap-machine-p): Always return nil if + open-network-stream is not fboundp. + 2001-06-17 Stefan Monnier * textmodes/sgml-mode.el: Move `provide' to the end. Update copyright. diff --git a/lisp/ffap.el b/lisp/ffap.el index 648688813d6..fcded84e402 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -396,6 +396,7 @@ Returned values: (cond ((eq strategy 'accept) 'accept) ((eq strategy 'reject) nil) + ((not (fboundp 'open-network-stream)) nil) ;; assume (eq strategy 'ping) (t (or quiet -- 2.39.2