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:
parent
1e6083840c
commit
a2702d990e
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue