]> git.eshelyaron.com Git - emacs.git/commitdiff
* replace.el (occur-mode-goto-occurrence): Pop, don't switch.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 28 Nov 2005 19:18:51 +0000 (19:18 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 28 Nov 2005 19:18:51 +0000 (19:18 +0000)
lisp/ChangeLog
lisp/replace.el

index 7d25566c12e2d575cdef30d1723e9ce50166cdd2..88004d84047a69e13b68e8b6fb29122208bdb00d 100644 (file)
@@ -1,3 +1,7 @@
+2005-11-28  Chong Yidong  <cyd@stupidchicken.com>
+
+       * replace.el (occur-mode-goto-occurrence): Pop, don't switch.
+
 2005-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * textmodes/flyspell.el (flyspell-last-buffer): New var.
index e74b8690c282a04853dc805e7d77ae031b42511e..f269baef9f145f7cb811222687a4c9aace909ed4 100644 (file)
@@ -770,7 +770,7 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it.
   "Go to the occurrence the current line describes."
   (interactive)
   (let ((pos (occur-mode-find-occurrence)))
-    (switch-to-buffer (marker-buffer pos))
+    (pop-to-buffer (marker-buffer pos))
     (goto-char pos)))
 
 (defun occur-mode-goto-occurrence-other-window ()