aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-16 14:15:11 +0000
committerRichard M. Stallman1994-06-16 14:15:11 +0000
commit97c6019c1a1ff60e309221f1f8d78400dd9655a4 (patch)
treef161d28798a6d895575184a0b1b70a89ce62c8d7
parentd933a75618d9b286f979000b0678098dfb1f29f3 (diff)
downloademacs-97c6019c1a1ff60e309221f1f8d78400dd9655a4.tar.gz
emacs-97c6019c1a1ff60e309221f1f8d78400dd9655a4.zip
(ange-ftp-canonize-filename): Fix wrong var name.
-rw-r--r--lisp/ange-ftp.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 33c9b460e97..49068276191 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -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.53 $") 854(defconst ange-ftp-version "$Revision: 1.54 $")
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.")
@@ -2784,12 +2784,12 @@ logged in as user USER and cd'd to directory DIR."
2784 (error "Unable to obtain CWD"))))) 2784 (error "Unable to obtain CWD")))))
2785 2785
2786 ;; If name starts with //, preserve that, for apollo system. 2786 ;; If name starts with //, preserve that, for apollo system.
2787 (if (not (string-match "^//" path)) 2787 (if (not (string-match "^//" name))
2788 (progn 2788 (progn
2789 (setq path (ange-ftp-real-expand-file-name path)) 2789 (setq name (ange-ftp-real-expand-file-name name))
2790 2790
2791 (if (string-match "^//" path) 2791 (if (string-match "^//" name)
2792 (setq path (substring path 1))))) 2792 (setq name (substring name 1)))))
2793 2793
2794 ;; Now substitute the expanded name back into the overall filename. 2794 ;; Now substitute the expanded name back into the overall filename.
2795 (ange-ftp-replace-name-component n name)) 2795 (ange-ftp-replace-name-component n name))