summaryrefslogtreecommitdiff
path: root/lisp/ange-ftp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-08-09 05:03:17 +0000
committerRichard M. Stallman <rms@gnu.org>1993-08-09 05:03:17 +0000
commit27edbaafbfa17c8a7e940af23283646e178e00da (patch)
treef75a605b7e4569cf16f2807a10079538c3350407 /lisp/ange-ftp.el
parentec58aeecf26d0295fbb8fc9b9508cc7ff5facadc (diff)
downloademacs-27edbaafbfa17c8a7e940af23283646e178e00da.tar.gz
(ange-ftp-send-cmd): Bind ange-ftp-this-...
in the outermost let, not an inner one.
Diffstat (limited to 'lisp/ange-ftp.el')
-rw-r--r--lisp/ange-ftp.el11
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."
;;;; Internal variables.
;;;; ------------------------------------------------------------
-(defconst ange-ftp-version "$Revision: 1.30 $")
+(defconst ange-ftp-version "$Revision: 1.31 $")
(defvar ange-ftp-data-buffer-name " *ftp data*"
"Buffer name to hold directory listing data received from ftp process.")
@@ -1975,6 +1975,9 @@ and NOWAIT."
;; capability.
(let ((cmd0 (car cmd))
(cmd1 (nth 1 cmd))
+ (ange-ftp-this-user user)
+ (ange-ftp-this-host host)
+ (ange-ftp-this-msg msg)
cmd2 cmd3 host-type fix-name-func)
(cond
@@ -2006,9 +2009,7 @@ and NOWAIT."
cmd1 (format "\"%s %s\"" cmd3 cmd1))))
;; First argument is the remote name
- ((let ((ange-ftp-this-user user)
- (ange-ftp-this-host host)
- (ange-ftp-this-msg msg))
+ ((progn
(setq fix-name-func (or (cdr (assq host-type
ange-ftp-fix-name-func-alist))
'identity))
@@ -5090,7 +5091,7 @@ Other orders of $ and _ seem to all work just fine.")
;;;; ------------------------------------------------------------
;; Since CMS doesn't have any full file name syntax, we have to fudge
-;; things with cd's. We actually send too many cd's, but is dangerous
+;; things with cd's. We actually send too many cd's, but it's dangerous
;; to try to remember the current minidisk, because if the connection
;; is closed and needs to be reopened, we will find ourselves back in
;; the default minidisk. This is fairly likely since CMS ftp servers