diff options
| author | Michael Albinus | 2010-02-03 07:16:34 +0100 |
|---|---|---|
| committer | Michael Albinus | 2010-02-03 07:16:34 +0100 |
| commit | 8214b6e4e7e65e08bb055daf7d0a681155cb37c2 (patch) | |
| tree | a246a851cee654bb9fb9a80c237fa75cd82e61ae /lisp/net | |
| parent | 1df9718f3a7bb30ef46c4e050143da2dbbefd2d9 (diff) | |
| download | emacs-8214b6e4e7e65e08bb055daf7d0a681155cb37c2.tar.gz emacs-8214b6e4e7e65e08bb055daf7d0a681155cb37c2.zip | |
* net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
also in case of (and (not full) (not wildcard)). This is needed,
when dired is called with a list of files, which are not in
`default-directory'. (Bug#5478)
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/ange-ftp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index d443532ce2a..127fba3d7fb 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4534,7 +4534,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4534 | ;; Remove "d" which dired added to `switches'. | 4534 | ;; Remove "d" which dired added to `switches'. |
| 4535 | (setq switches (substring switches 0 (match-beginning 0)))) | 4535 | (setq switches (substring switches 0 (match-beginning 0)))) |
| 4536 | (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") | 4536 | (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") |
| 4537 | switches nil)) | 4537 | switches 'parse)) |
| 4538 | (filename (file-name-nondirectory (directory-file-name file))) | 4538 | (filename (file-name-nondirectory (directory-file-name file))) |
| 4539 | (case-fold-search nil)) | 4539 | (case-fold-search nil)) |
| 4540 | ;; FIXME: This presumes a particular output format, which is | 4540 | ;; FIXME: This presumes a particular output format, which is |