aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2010-02-03 07:16:34 +0100
committerMichael Albinus2010-02-03 07:16:34 +0100
commit8214b6e4e7e65e08bb055daf7d0a681155cb37c2 (patch)
treea246a851cee654bb9fb9a80c237fa75cd82e61ae
parent1df9718f3a7bb30ef46c4e050143da2dbbefd2d9 (diff)
downloademacs-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)
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/net/ange-ftp.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 864a91e0e51..3e133665570 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12010-02-03 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
4 also in case of (and (not full) (not wildcard)). This is needed,
5 when dired is called with a list of files, which are not in
6 `default-directory'. (Bug#5478)
7
12010-02-03 Stefan Monnier <monnier@iro.umontreal.ca> 82010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2 9
3 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function. 10 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
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