From 51ce5d68a2a6e870dfbb7b8839d0d45489effc85 Mon Sep 17 00:00:00 2001 From: Trevor Murphy Date: Sat, 22 Sep 2018 16:42:20 -0700 Subject: [PATCH] Allow user customization to affect display of *Find* buffer. * lisp/find-dired.el (find-dired): Change buffer display function. --- lisp/find-dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/find-dired.el b/lisp/find-dired.el index ebd14b0757..9a798b0e39 100644 --- a/lisp/find-dired.el +++ b/lisp/find-dired.el @@ -144,7 +144,7 @@ find-dired ;; Check that it's really a directory. (or (file-directory-p dir) (error "find-dired needs a directory: %s" dir)) - (switch-to-buffer (get-buffer-create "*Find*")) + (pop-to-buffer-same-window (get-buffer-create "*Find*")) ;; See if there's still a `find' running, and offer to kill ;; it first, if it is. -- 2.19.0