mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(ange-ftp-expand-file-name) [windows-nt]: Handle
filenames using backslashes.
This commit is contained in:
parent
685a6f2e86
commit
39408f318e
1 changed files with 3 additions and 0 deletions
|
|
@ -3047,6 +3047,9 @@ logged in as user USER and cd'd to directory DIR."
|
|||
(ange-ftp-real-expand-file-name name))
|
||||
((eq (string-to-char name) ?/)
|
||||
(ange-ftp-canonize-filename name))
|
||||
((and (eq system-type 'windows-nt)
|
||||
(eq (string-to-char name) ?\\))
|
||||
(ange-ftp-canonize-filename name))
|
||||
((and (eq system-type 'windows-nt)
|
||||
(or (string-match "^[a-zA-Z]:" name)
|
||||
(string-match "^[a-zA-Z]:" default)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue