* replace.el (occur-mode-goto-occurrence): Don't force using other window.

Fixes: debbugs:9499
This commit is contained in:
Chong Yidong 2011-09-14 11:14:34 -04:00
parent a0bf2bcd93
commit 17bb0a2d83
3 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2011-09-14 Chong Yidong <cyd@stupidchicken.com>
* replace.el (occur-mode-goto-occurrence): Don't force using other
window (Bug#9499).
* dired-aux.el (dired-do-chmod): Don't provide initial input.
2011-09-14 Martin Rudalics <rudalics@gmx.at>

View file

@ -3663,7 +3663,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
;;;;;; dired-run-shell-command dired-do-shell-command dired-do-async-shell-command
;;;;;; dired-clean-directory dired-do-print dired-do-touch dired-do-chown
;;;;;; dired-do-chgrp dired-do-chmod dired-compare-directories dired-backup-diff
;;;;;; dired-diff) "dired-aux" "dired-aux.el" "bbc9babe193843cad535d73492326c48")
;;;;;; dired-diff) "dired-aux" "dired-aux.el" "0ffe89ae728efb341dfacff6c85e2ba4")
;;; Generated autoloads from dired-aux.el
(autoload 'dired-diff "dired-aux" "\

View file

@ -940,7 +940,7 @@ To return to ordinary Occur mode, use \\[occur-mode]."
(save-excursion
(goto-char (posn-point (event-end event)))
(occur-mode-find-occurrence))))))
(pop-to-buffer (marker-buffer pos) t)
(pop-to-buffer (marker-buffer pos))
(goto-char pos)
(run-hooks 'occur-mode-find-occurrence-hook)))