From: Chong Yidong Date: Fri, 20 Apr 2007 13:58:01 +0000 (+0000) Subject: (locate): Output from shell-command should go in the current buffer X-Git-Tag: emacs-pretest-22.0.99~146 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8785218b042fee88bd5818d98706b44870d9010;p=emacs.git (locate): Output from shell-command should go in the current buffer rather than *Shell Command Output*. --- 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