Commit 7e1d31d4 authored by Chong Yidong's avatar Chong Yidong
Browse files

* replace.el (occur-mode-goto-occurrence): Pop, don't switch.

parent 6a99c272
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.
......
......@@ -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 ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment