Mercurial > emacs
changeset 77335:dfae3f6e5202
(locate): Output from shell-command should go in the current buffer
rather than *Shell Command Output*.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 20 Apr 2007 13:58:01 +0000 |
parents | 3a49c84492d7 |
children | 30ac7cda83c0 |
files | lisp/locate.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/locate.el Fri Apr 20 13:57:53 2007 +0000 +++ b/lisp/locate.el Fri Apr 20 13:58:01 2007 +0000 @@ -310,7 +310,7 @@ (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