diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-05-30 10:08:53 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-05-30 10:08:53 +0000 |
commit | a2702d990e2eb8c5368e7b977bc5bb48caabed9c (patch) | |
tree | 4f161b285bc4eb76070bf65c498006eee14f24a1 /lisp/ange-ftp.el | |
parent | 1e6083840c68f16750383d3dcfd0cd3c592ec281 (diff) | |
download | emacs-a2702d990e2eb8c5368e7b977bc5bb48caabed9c.tar.gz |
(ange-ftp-insert-directory): Expand file name to
check whether it is really an ftp file name.
Diffstat (limited to 'lisp/ange-ftp.el')
-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." ;;;; Internal variables. ;;;; ------------------------------------------------------------ -(defconst ange-ftp-version "$Revision: 1.51 $") +(defconst ange-ftp-version "$Revision: 1.52 $") (defvar ange-ftp-data-buffer-name " *ftp data*" "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.") (defun ange-ftp-insert-directory (file switches &optional wildcard full) (let ((short (ange-ftp-abbreviate-filename file)) - (parsed (ange-ftp-ftp-name file))) + (parsed (ange-ftp-ftp-name (expand-file-name file)))) (if parsed (insert (if wildcard |