summaryrefslogtreecommitdiff
path: root/lisp/locate.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-04-20 13:58:01 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-04-20 13:58:01 +0000
commitc8785218b042fee88bd5818d98706b44870d9010 (patch)
treee7ef06d4eee19a907dab622a742f5cff693b7858 /lisp/locate.el
parent0715a41bf8cc1228d9f21cb956bdeeb81945eed0 (diff)
downloademacs-c8785218b042fee88bd5818d98706b44870d9010.tar.gz
(locate): Output from shell-command should go in the current buffer
rather than *Shell Command Output*.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r--lisp/locate.el2
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."
(set (make-local-variable 'locate-current-filter) filter)
(if run-locate-command
- (shell-command search-string)
+ (shell-command search-string (current-buffer))
(apply 'call-process locate-cmd nil t nil locate-cmd-args))
(and filter