diff options
| author | Richard M. Stallman | 1994-05-30 10:08:53 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-30 10:08:53 +0000 |
| commit | a2702d990e2eb8c5368e7b977bc5bb48caabed9c (patch) | |
| tree | 4f161b285bc4eb76070bf65c498006eee14f24a1 | |
| parent | 1e6083840c68f16750383d3dcfd0cd3c592ec281 (diff) | |
| download | emacs-a2702d990e2eb8c5368e7b977bc5bb48caabed9c.tar.gz emacs-a2702d990e2eb8c5368e7b977bc5bb48caabed9c.zip | |
(ange-ftp-insert-directory): Expand file name to
check whether it is really an ftp file name.
| -rw-r--r-- | lisp/ange-ftp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el index 23ed923064a..174279ed52e 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.51 $") | 854 | (defconst ange-ftp-version "$Revision: 1.52 $") |
| 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.") |
| @@ -3950,7 +3950,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 3950 | 3950 | ||
| 3951 | (defun ange-ftp-insert-directory (file switches &optional wildcard full) | 3951 | (defun ange-ftp-insert-directory (file switches &optional wildcard full) |
| 3952 | (let ((short (ange-ftp-abbreviate-filename file)) | 3952 | (let ((short (ange-ftp-abbreviate-filename file)) |
| 3953 | (parsed (ange-ftp-ftp-name file))) | 3953 | (parsed (ange-ftp-ftp-name (expand-file-name file)))) |
| 3954 | (if parsed | 3954 | (if parsed |
| 3955 | (insert | 3955 | (insert |
| 3956 | (if wildcard | 3956 | (if wildcard |