1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

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

This commit is contained in:
Chong Yidong 2005-11-28 19:18:51 +00:00
parent 6a99c27283
commit 7e1d31d460
2 changed files with 5 additions and 1 deletions

View 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.

View 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 ()