emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c973a0f: Allow user customization to affect display


From: Eli Zaretskii
Subject: [Emacs-diffs] master c973a0f: Allow user customization to affect display of *Find* buffer.
Date: Sat, 29 Sep 2018 02:40:41 -0400 (EDT)

branch: master
commit c973a0f15efe173671d82ac9a6ba67d5a592dc2e
Author: Trevor Murphy <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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'.
---
 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 ebd14b0..9a798b0 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]