Function: ange-ftp-use-gateway-p
ange-ftp-use-gateway-p is a byte-compiled function defined in
ange-ftp.el.gz.
Signature
(ange-ftp-use-gateway-p HOST)
Documentation
Return whether to access this HOST via a normal (non-smart) gateway.
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
;;;; ------------------------------------------------------------
;;;; Gateway support.
;;;; ------------------------------------------------------------
(defun ange-ftp-use-gateway-p (host)
"Return whether to access this HOST via a normal (non-smart) gateway."
;; yes, I know that I could simplify the following expression, but it is
;; clearer (to me at least) this way.
(and (not ange-ftp-smart-gateway)
(not (string-match-p ange-ftp-local-host-regexp host))))