diff options
| author | Chong Yidong | 2005-11-28 19:18:51 +0000 |
|---|---|---|
| committer | Chong Yidong | 2005-11-28 19:18:51 +0000 |
| commit | 7e1d31d4604a0525afd6b25cb1bf31bd23fe9db9 (patch) | |
| tree | 37f165730e83d1624533984a6399be94d99b9d85 | |
| parent | 6a99c272837ee61fa361007ffce3069feb704a32 (diff) | |
| download | emacs-7e1d31d4604a0525afd6b25cb1bf31bd23fe9db9.tar.gz emacs-7e1d31d4604a0525afd6b25cb1bf31bd23fe9db9.zip | |
* replace.el (occur-mode-goto-occurrence): Pop, don't switch.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/replace.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7d25566c12e..88004d84047 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-11-28 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * replace.el (occur-mode-goto-occurrence): Pop, don't switch. | ||
| 4 | |||
| 1 | 2005-11-28 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2005-11-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * textmodes/flyspell.el (flyspell-last-buffer): New var. | 7 | * textmodes/flyspell.el (flyspell-last-buffer): New var. |
diff --git a/lisp/replace.el b/lisp/replace.el index e74b8690c28..f269baef9f1 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -770,7 +770,7 @@ Alternatively, click \\[occur-mode-mouse-goto] on an item to go to it. | |||
| 770 | "Go to the occurrence the current line describes." | 770 | "Go to the occurrence the current line describes." |
| 771 | (interactive) | 771 | (interactive) |
| 772 | (let ((pos (occur-mode-find-occurrence))) | 772 | (let ((pos (occur-mode-find-occurrence))) |
| 773 | (switch-to-buffer (marker-buffer pos)) | 773 | (pop-to-buffer (marker-buffer pos)) |
| 774 | (goto-char pos))) | 774 | (goto-char pos))) |
| 775 | 775 | ||
| 776 | (defun occur-mode-goto-occurrence-other-window () | 776 | (defun occur-mode-goto-occurrence-other-window () |