mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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)
This commit is contained in:
parent
1df9718f3a
commit
8214b6e4e7
2 changed files with 8 additions and 1 deletions
|
|
@ -4534,7 +4534,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
|
|||
;; Remove "d" which dired added to `switches'.
|
||||
(setq switches (substring switches 0 (match-beginning 0))))
|
||||
(let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".")
|
||||
switches nil))
|
||||
switches 'parse))
|
||||
(filename (file-name-nondirectory (directory-file-name file)))
|
||||
(case-fold-search nil))
|
||||
;; FIXME: This presumes a particular output format, which is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue