aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/find-dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index ebd14b07579..9a798b0e399 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -144,7 +144,7 @@ use in place of \"-ls\" as the final argument."
144 ;; Check that it's really a directory. 144 ;; Check that it's really a directory.
145 (or (file-directory-p dir) 145 (or (file-directory-p dir)
146 (error "find-dired needs a directory: %s" dir)) 146 (error "find-dired needs a directory: %s" dir))
147 (switch-to-buffer (get-buffer-create "*Find*")) 147 (pop-to-buffer-same-window (get-buffer-create "*Find*"))
148 148
149 ;; See if there's still a `find' running, and offer to kill 149 ;; See if there's still a `find' running, and offer to kill
150 ;; it first, if it is. 150 ;; it first, if it is.