Allow user customization to affect display of *Find* buffer.
* lisp/find-dired.el (find-dired): Use 'pop-to-buffer-same-window' instead of 'switch-to-buffer'.
This commit is contained in:
parent
804f9e74de
commit
c973a0f15e
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ use in place of \"-ls\" as the final argument."
|
|||
;; 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.
|
||||
|
|
Loading…
Add table
Reference in a new issue