From: Gerd Moellmann Date: Thu, 16 Nov 2000 06:13:09 +0000 (+0000) Subject: (ange-ftp-file-writable-p) X-Git-Tag: emacs-pretest-21.0.90~33 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e14fe9f166fa0680eb351c83835e1dbdc333c60;p=emacs.git (ange-ftp-file-writable-p) (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind ange-ftp-process-verbose to nil. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0e27169961e..f379ea70434 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2000-11-16 Gerd Moellmann + + * net/ange-ftp.el (ange-ftp-file-writable-p) + (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind + ange-ftp-process-verbose to nil. + 2000-11-15 Dave Love * wid-edit.el (widget-specify-field, widget-specify-button): If @@ -19,7 +25,7 @@ 2000-11-15 Gerd Moellmann * faces.el (face-set-after-frame-default): If - `inhibit-default-face-x-resources' is bound, don't intiialize the + `inhibit-default-face-x-resources' is bound, don't intialize the default face from X resources. 2000-11-15 Eli Zaretskii 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: ")