aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2004-03-08 21:47:59 +0000
committerMichael Albinus2004-03-08 21:47:59 +0000
commit1a9c959bb2a459db4212926e62e0d9ce5e83bdc6 (patch)
tree0fc42a545a40c3de3548f1175bda580c8abba53c
parentd8a8cbe26cfb2e0a72c14ad283e074fb723d6c6c (diff)
downloademacs-1a9c959bb2a459db4212926e62e0d9ce5e83bdc6.tar.gz
emacs-1a9c959bb2a459db4212926e62e0d9ce5e83bdc6.zip
* find-dired.el (find-dired): Call `shell-command' instead of
`start-process-shell-command'. By this, Tramp takes over handling of remote directories.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/find-dired.el5
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 672ca187c09..5927438748f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12004-03-08 Michael Albinus <Michael.Albinus@alcatel.de>
2
3 * find-dired.el (find-dired): Call `shell-command' instead of
4 `start-process-shell-command'. By this, Tramp takes over
5 handling of remote directories.
6
12004-03-07 Stefan Monnier <monnier@iro.umontreal.ca> 72004-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * cus-edit.el (fill) <defgroup>: Move to fill.el. 9 * cus-edit.el (fill) <defgroup>: Move to fill.el.
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index 9407afc3862..5bef4d6bf3a 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -121,6 +121,8 @@ as the final argument."
121 "" 121 ""
122 (concat "\\( " args " \\) ")) 122 (concat "\\( " args " \\) "))
123 (car find-ls-option))) 123 (car find-ls-option)))
124 ;; Start the find process.
125 (shell-command (concat args "&") (current-buffer))
124 ;; The next statement will bomb in classic dired (no optional arg allowed) 126 ;; The next statement will bomb in classic dired (no optional arg allowed)
125 (dired-mode dir (cdr find-ls-option)) 127 (dired-mode dir (cdr find-ls-option))
126 (let ((map (make-sparse-keymap))) 128 (let ((map (make-sparse-keymap)))
@@ -149,8 +151,7 @@ as the final argument."
149 ;; ``wildcard'' line. 151 ;; ``wildcard'' line.
150 (insert " " args "\n") 152 (insert " " args "\n")
151 (setq buffer-read-only t) 153 (setq buffer-read-only t)
152 ;; Start the find process. 154 (let ((proc (get-buffer-process (current-buffer))))
153 (let ((proc (start-process-shell-command find-dired-find-program (current-buffer) args)))
154 (set-process-filter proc (function find-dired-filter)) 155 (set-process-filter proc (function find-dired-filter))
155 (set-process-sentinel proc (function find-dired-sentinel)) 156 (set-process-sentinel proc (function find-dired-sentinel))
156 ;; Initialize the process marker; it is used by the filter. 157 ;; Initialize the process marker; it is used by the filter.