[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/replace.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/replace.el |
Date: |
Sat, 29 Oct 2005 15:49:21 -0400 |
Index: emacs/lisp/replace.el
diff -c emacs/lisp/replace.el:1.227 emacs/lisp/replace.el:1.228
*** emacs/lisp/replace.el:1.227 Thu Oct 27 18:22:00 2005
--- emacs/lisp/replace.el Sat Oct 29 19:49:20 2005
***************
*** 755,761 ****
(save-excursion
(goto-char (posn-point (event-end event)))
(setq pos (occur-mode-find-occurrence))))
! (pop-to-buffer (marker-buffer pos))
(goto-char pos)))
(defun occur-mode-find-occurrence ()
--- 755,761 ----
(save-excursion
(goto-char (posn-point (event-end event)))
(setq pos (occur-mode-find-occurrence))))
! (switch-to-buffer-other-window (marker-buffer pos))
(goto-char pos)))
(defun occur-mode-find-occurrence ()
***************
*** 770,776 ****
"Go to the occurrence the current line describes."
(interactive)
(let ((pos (occur-mode-find-occurrence)))
! (pop-to-buffer (marker-buffer pos))
(goto-char pos)))
(defun occur-mode-goto-occurrence-other-window ()
--- 770,776 ----
"Go to the occurrence the current line describes."
(interactive)
(let ((pos (occur-mode-find-occurrence)))
! (switch-to-buffer (marker-buffer pos))
(goto-char pos)))
(defun occur-mode-goto-occurrence-other-window ()