summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-11-16 06:13:09 +0000
committerGerd Moellmann <gerd@gnu.org>2000-11-16 06:13:09 +0000
commit0e14fe9f166fa0680eb351c83835e1dbdc333c60 (patch)
tree06555105bf0d1fe21d14f3e06293ba85399827ff /lisp/net
parentcac94de6556616a52265d2d41905df45822a7515 (diff)
downloademacs-0e14fe9f166fa0680eb351c83835e1dbdc333c60.tar.gz
(ange-ftp-file-writable-p)
(ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind ange-ftp-process-verbose to nil.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/ange-ftp.el29
1 files changed, 16 insertions, 13 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el
index d02f0577c45..a6b986ceba0 100644
--- a/lisp/net/ange-ftp.el
+++ b/lisp/net/ange-ftp.el
@@ -3373,23 +3373,26 @@ system TYPE.")
(ange-ftp-real-file-newer-than-file-p f1 f2))))
(defun ange-ftp-file-writable-p (file)
- (setq file (expand-file-name file))
- (if (ange-ftp-ftp-name file)
- (or (file-exists-p file) ;guess here for speed
- (file-directory-p (file-name-directory file)))
- (ange-ftp-real-file-writable-p file)))
+ (let ((ange-ftp-process-verbose nil))
+ (setq file (expand-file-name file))
+ (if (ange-ftp-ftp-name file)
+ (or (file-exists-p file) ;guess here for speed
+ (file-directory-p (file-name-directory file)))
+ (ange-ftp-real-file-writable-p file))))
(defun ange-ftp-file-readable-p (file)
- (setq file (expand-file-name file))
- (if (ange-ftp-ftp-name file)
- (file-exists-p file)
- (ange-ftp-real-file-readable-p file)))
+ (let ((ange-ftp-process-verbose nil))
+ (setq file (expand-file-name file))
+ (if (ange-ftp-ftp-name file)
+ (file-exists-p file)
+ (ange-ftp-real-file-readable-p file))))
(defun ange-ftp-file-executable-p (file)
- (setq file (expand-file-name file))
- (if (ange-ftp-ftp-name file)
- (file-exists-p file)
- (ange-ftp-real-file-executable-p file)))
+ (let ((ange-ftp-process-verbose nil))
+ (setq file (expand-file-name file))
+ (if (ange-ftp-ftp-name file)
+ (file-exists-p file)
+ (ange-ftp-real-file-executable-p file))))
(defun ange-ftp-delete-file (file)
(interactive "fDelete file: ")