1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

(ange-ftp-insert-directory): Expand file name to

check whether it is really an ftp file name.
This commit is contained in:
Richard M. Stallman 1994-05-30 10:08:53 +00:00
parent 1e6083840c
commit a2702d990e

View file

@ -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