diff options
| author | Richard M. Stallman | 1993-08-09 05:03:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-09 05:03:17 +0000 |
| commit | 98deaf97f5933e495b7d8997842bcf42d0c444aa (patch) | |
| tree | f477b8f372d75d358b9cb8851577e9a24271670d | |
| parent | 107a16d19996f6e5ff837f71b5544f46ccc3c206 (diff) | |
| download | emacs-98deaf97f5933e495b7d8997842bcf42d0c444aa.tar.gz emacs-98deaf97f5933e495b7d8997842bcf42d0c444aa.zip | |
(ange-ftp-send-cmd): Bind ange-ftp-this-...
in the outermost let, not an inner one.
| -rw-r--r-- | lisp/ange-ftp.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 3ce5d055193..a1b9fc26456 100644 --- a/lisp/ange-ftp.el +++ b/lisp/ange-ftp.el | |||
| @@ -856,7 +856,7 @@ SIZE, if supplied, should be a prime number." | |||
| 856 | ;;;; Internal variables. | 856 | ;;;; Internal variables. |
| 857 | ;;;; ------------------------------------------------------------ | 857 | ;;;; ------------------------------------------------------------ |
| 858 | 858 | ||
| 859 | (defconst ange-ftp-version "$Revision: 1.30 $") | 859 | (defconst ange-ftp-version "$Revision: 1.31 $") |
| 860 | 860 | ||
| 861 | (defvar ange-ftp-data-buffer-name " *ftp data*" | 861 | (defvar ange-ftp-data-buffer-name " *ftp data*" |
| 862 | "Buffer name to hold directory listing data received from ftp process.") | 862 | "Buffer name to hold directory listing data received from ftp process.") |
| @@ -1975,6 +1975,9 @@ and NOWAIT." | |||
| 1975 | ;; capability. | 1975 | ;; capability. |
| 1976 | (let ((cmd0 (car cmd)) | 1976 | (let ((cmd0 (car cmd)) |
| 1977 | (cmd1 (nth 1 cmd)) | 1977 | (cmd1 (nth 1 cmd)) |
| 1978 | (ange-ftp-this-user user) | ||
| 1979 | (ange-ftp-this-host host) | ||
| 1980 | (ange-ftp-this-msg msg) | ||
| 1978 | cmd2 cmd3 host-type fix-name-func) | 1981 | cmd2 cmd3 host-type fix-name-func) |
| 1979 | 1982 | ||
| 1980 | (cond | 1983 | (cond |
| @@ -2006,9 +2009,7 @@ and NOWAIT." | |||
| 2006 | cmd1 (format "\"%s %s\"" cmd3 cmd1)))) | 2009 | cmd1 (format "\"%s %s\"" cmd3 cmd1)))) |
| 2007 | 2010 | ||
| 2008 | ;; First argument is the remote name | 2011 | ;; First argument is the remote name |
| 2009 | ((let ((ange-ftp-this-user user) | 2012 | ((progn |
| 2010 | (ange-ftp-this-host host) | ||
| 2011 | (ange-ftp-this-msg msg)) | ||
| 2012 | (setq fix-name-func (or (cdr (assq host-type | 2013 | (setq fix-name-func (or (cdr (assq host-type |
| 2013 | ange-ftp-fix-name-func-alist)) | 2014 | ange-ftp-fix-name-func-alist)) |
| 2014 | 'identity)) | 2015 | 'identity)) |
| @@ -5090,7 +5091,7 @@ Other orders of $ and _ seem to all work just fine.") | |||
| 5090 | ;;;; ------------------------------------------------------------ | 5091 | ;;;; ------------------------------------------------------------ |
| 5091 | 5092 | ||
| 5092 | ;; Since CMS doesn't have any full file name syntax, we have to fudge | 5093 | ;; Since CMS doesn't have any full file name syntax, we have to fudge |
| 5093 | ;; things with cd's. We actually send too many cd's, but is dangerous | 5094 | ;; things with cd's. We actually send too many cd's, but it's dangerous |
| 5094 | ;; to try to remember the current minidisk, because if the connection | 5095 | ;; to try to remember the current minidisk, because if the connection |
| 5095 | ;; is closed and needs to be reopened, we will find ourselves back in | 5096 | ;; is closed and needs to be reopened, we will find ourselves back in |
| 5096 | ;; the default minidisk. This is fairly likely since CMS ftp servers | 5097 | ;; the default minidisk. This is fairly likely since CMS ftp servers |