[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100389: * locate.el (locate): Use po
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100389: * locate.el (locate): Use pop-to-buffer instead of |
Date: |
Fri, 21 May 2010 01:55:11 +0300 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100389
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Fri 2010-05-21 01:55:11 +0300
message:
* locate.el (locate): Use pop-to-buffer instead of
switch-to-buffer-other-window. (Bug#6204)
modified:
lisp/ChangeLog
lisp/locate.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-05-20 22:49:53 +0000
+++ b/lisp/ChangeLog 2010-05-20 22:55:11 +0000
@@ -1,5 +1,10 @@
2010-05-20 Juri Linkov <address@hidden>
+ * locate.el (locate): Use pop-to-buffer instead of
+ switch-to-buffer-other-window. (Bug#6204)
+
+2010-05-20 Juri Linkov <address@hidden>
+
* replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
=== modified file 'lisp/locate.el'
--- a/lisp/locate.el 2010-01-13 08:35:10 +0000
+++ b/lisp/locate.el 2010-05-20 22:55:11 +0000
@@ -326,7 +326,7 @@
(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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100389: * locate.el (locate): Use pop-to-buffer instead of,
Juri Linkov <=