diff options
| author | Richard M. Stallman | 1994-11-19 14:03:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-11-19 14:03:23 +0000 |
| commit | cc66b32b04bb852a2b6dd1c47b56f7d58b50f17d (patch) | |
| tree | 4bad39fd9ded6227e00d4d257a8816e60a19972a | |
| parent | ebdb2d6d9eade255a73b5bd641cf62c4930edb60 (diff) | |
| download | emacs-cc66b32b04bb852a2b6dd1c47b56f7d58b50f17d.tar.gz emacs-cc66b32b04bb852a2b6dd1c47b56f7d58b50f17d.zip | |
(start-process-shell-command): Function deleted.
| -rw-r--r-- | lisp/find-dired.el | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el index 6844699eb36..53f62d71ed4 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | ;; Maintainer: Sebastian Kremer <sk@thp.uni-koeln.de> | 7 | ;; Maintainer: Sebastian Kremer <sk@thp.uni-koeln.de> |
| 8 | ;; Keywords: unix | 8 | ;; Keywords: unix |
| 9 | 9 | ||
| 10 | (defconst find-dired-version (substring "$Revision: 1.15 $" 11 -2) | 10 | (defconst find-dired-version (substring "$Revision: 1.16 $" 11 -2) |
| 11 | "$Id: find-dired.el,v 1.15 1994/04/24 08:15:55 rms Exp kwzh $") | 11 | "$Id: find-dired.el,v 1.16 1994/05/03 23:39:55 kwzh Exp rms $") |
| 12 | 12 | ||
| 13 | ;;; This program is free software; you can redistribute it and/or modify | 13 | ;;; This program is free software; you can redistribute it and/or modify |
| 14 | ;;; it under the terms of the GNU General Public License as published by | 14 | ;;; it under the terms of the GNU General Public License as published by |
| @@ -33,7 +33,7 @@ | |||
| 33 | ;; find-dired|Roland McGrath, Sebastian Kremer | 33 | ;; find-dired|Roland McGrath, Sebastian Kremer |
| 34 | ;; |roland@gnu.ai.mit.edu, sk@thp.uni-koeln.de | 34 | ;; |roland@gnu.ai.mit.edu, sk@thp.uni-koeln.de |
| 35 | ;; |Run a `find' command and dired the output | 35 | ;; |Run a `find' command and dired the output |
| 36 | ;; |$Date: 1994/04/24 08:15:55 $|$Revision: 1.15 $| | 36 | ;; |$Date: 1994/05/03 23:39:55 $|$Revision: 1.16 $| |
| 37 | 37 | ||
| 38 | ;; INSTALLATION ====================================================== | 38 | ;; INSTALLATION ====================================================== |
| 39 | 39 | ||
| @@ -215,25 +215,6 @@ Thus ARG can also contain additional grep options." | |||
| 215 | ;; Force mode line redisplay soon. | 215 | ;; Force mode line redisplay soon. |
| 216 | (set-buffer-modified-p (buffer-modified-p)))) | 216 | (set-buffer-modified-p (buffer-modified-p)))) |
| 217 | (message "find-dired %s finished." (current-buffer)))))) | 217 | (message "find-dired %s finished." (current-buffer)))))) |
| 218 | |||
| 219 | (or (fboundp 'start-process-shell-command) | ||
| 220 | ;; From version 19 subr.el. | ||
| 221 | (defun start-process-shell-command (name buffer &rest args) | ||
| 222 | "Start a program in a subprocess. Return the process object for it. | ||
| 223 | Args are NAME BUFFER COMMAND &rest COMMAND-ARGS. | ||
| 224 | NAME is name for process. It is modified if necessary to make it unique. | ||
| 225 | BUFFER is the buffer or (buffer-name) to associate with the process. | ||
| 226 | Process output goes at end of that buffer, unless you specify | ||
| 227 | an output stream or filter function to handle the output. | ||
| 228 | BUFFER may be also nil, meaning that this process is not associated | ||
| 229 | with any buffer | ||
| 230 | Third arg is command name, the name of a shell command. | ||
| 231 | Remaining arguments are the arguments for the command. | ||
| 232 | Wildcards and redirection are handled as usual in the shell." | ||
| 233 | (if (eq system-type 'vax-vms) | ||
| 234 | (apply 'start-process name buffer args) | ||
| 235 | (start-process name buffer shell-file-name "-c" | ||
| 236 | (concat "exec " (mapconcat 'identity args " ")))))) | ||
| 237 | 218 | ||
| 238 | (provide 'find-dired) | 219 | (provide 'find-dired) |
| 239 | 220 | ||