1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* locate.el (locate): Use pop-to-buffer instead of

switch-to-buffer-other-window.  (Bug#6204)
This commit is contained in:
Juri Linkov 2010-05-21 01:55:11 +03:00
parent 201d895a4a
commit f66a2f90f6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-05-20 Juri Linkov <juri@jurta.org>
* locate.el (locate): Use pop-to-buffer instead of
switch-to-buffer-other-window. (Bug#6204)
2010-05-20 Juri Linkov <juri@jurta.org>
* replace.el (replace-highlight): Fix lazy-highlighting

View file

@ -326,7 +326,7 @@ ARG is the interactive prefix arg."
(locate-do-setup search-string)
))
(and (not (string-equal (buffer-name) locate-buffer-name))
(switch-to-buffer-other-window locate-buffer-name))
(pop-to-buffer locate-buffer-name))
(run-hooks 'dired-mode-hook)
(dired-next-line 3) ;move to first matching file.