diff options
| author | Chong Yidong | 2007-04-20 13:58:01 +0000 |
|---|---|---|
| committer | Chong Yidong | 2007-04-20 13:58:01 +0000 |
| commit | c8785218b042fee88bd5818d98706b44870d9010 (patch) | |
| tree | e7ef06d4eee19a907dab622a742f5cff693b7858 | |
| parent | 0715a41bf8cc1228d9f21cb956bdeeb81945eed0 (diff) | |
| download | emacs-c8785218b042fee88bd5818d98706b44870d9010.tar.gz emacs-c8785218b042fee88bd5818d98706b44870d9010.zip | |
(locate): Output from shell-command should go in the current buffer
rather than *Shell Command Output*.
| -rw-r--r-- | lisp/locate.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/locate.el b/lisp/locate.el index e8dafa79048..ef7b05ee509 100644 --- a/lisp/locate.el +++ b/lisp/locate.el | |||
| @@ -310,7 +310,7 @@ the docstring of that function for its meaning." | |||
| 310 | (set (make-local-variable 'locate-current-filter) filter) | 310 | (set (make-local-variable 'locate-current-filter) filter) |
| 311 | 311 | ||
| 312 | (if run-locate-command | 312 | (if run-locate-command |
| 313 | (shell-command search-string) | 313 | (shell-command search-string (current-buffer)) |
| 314 | (apply 'call-process locate-cmd nil t nil locate-cmd-args)) | 314 | (apply 'call-process locate-cmd nil t nil locate-cmd-args)) |
| 315 | 315 | ||
| 316 | (and filter | 316 | (and filter |