aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-09 18:05:03 +0000
committerRichard M. Stallman1994-05-09 18:05:03 +0000
commita9864bafca2075ea92ab7df6d4270dfb5180c5a8 (patch)
tree07c3322bbe6a9acb6b455d9d540c3908808060da
parent2e25fb420567475534ef5ff79c8a443a2f705295 (diff)
downloademacs-a9864bafca2075ea92ab7df6d4270dfb5180c5a8.tar.gz
emacs-a9864bafca2075ea92ab7df6d4270dfb5180c5a8.zip
(ange-ftp-start-process): Bind file-name-handler-alist to nil
-rw-r--r--lisp/ange-ftp.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 4589a24b96d..233936ae046 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -387,7 +387,7 @@
387;;; 2. Some combinations of FTP clients and servers break and get out of sync 387;;; 2. Some combinations of FTP clients and servers break and get out of sync
388;;; when asked to list a non-existent directory. Some of the ai.mit.edu 388;;; when asked to list a non-existent directory. Some of the ai.mit.edu
389;;; machines cause this problem for some FTP clients. Using 389;;; machines cause this problem for some FTP clients. Using
390;;; ange-ftp-kill-process can be used to restart the ftp process, which 390;;; ange-ftp-kill-ftp-process can restart the ftp process, which
391;;; should get things back in synch. 391;;; should get things back in synch.
392;;; 392;;;
393;;; 3. Ange-ftp does not check to make sure that when creating a new file, 393;;; 3. Ange-ftp does not check to make sure that when creating a new file,
@@ -851,7 +851,7 @@ SIZE, if supplied, should be a prime number."
851;;;; Internal variables. 851;;;; Internal variables.
852;;;; ------------------------------------------------------------ 852;;;; ------------------------------------------------------------
853 853
854(defconst ange-ftp-version "$Revision: 1.49 $") 854(defconst ange-ftp-version "$Revision: 1.50 $")
855 855
856(defvar ange-ftp-data-buffer-name " *ftp data*" 856(defvar ange-ftp-data-buffer-name " *ftp data*"
857 "Buffer name to hold directory listing data received from ftp process.") 857 "Buffer name to hold directory listing data received from ftp process.")
@@ -1747,6 +1747,11 @@ on the gateway machine to do the ftp instead."
1747 ange-ftp-gateway-ftp-program-name 1747 ange-ftp-gateway-ftp-program-name
1748 ange-ftp-ftp-program-name)) 1748 ange-ftp-ftp-program-name))
1749 (args (append (list ftp-prog) ange-ftp-ftp-program-args)) 1749 (args (append (list ftp-prog) ange-ftp-ftp-program-args))
1750 ;; Without the following binding, ange-ftp-start-process
1751 ;; recurses on file-accessible-directory-p, since it needs to
1752 ;; restart its process in order to determine anything about
1753 ;; default-directory.
1754 (file-name-handler-alist)
1750 (default-directory 1755 (default-directory
1751 (if (file-accessible-directory-p default-directory) 1756 (if (file-accessible-directory-p default-directory)
1752 default-directory 1757 default-directory