1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

(isearch-query-replace): Check for isearch-other-end.

This commit is contained in:
Juri Linkov 2005-12-14 07:52:22 +00:00
parent cf717a0d24
commit e7e4ea210a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-12-14 Aaron S. Hawley <Aaron.Hawley@uvm.edu>
* isearch.el (isearch-query-replace): Check for isearch-other-end.
2005-12-14 Per Abrahamsen <abraham@dina.kvl.dk>
* progmodes/cpp.el (cpp-face): New widget.

View File

@ -1224,7 +1224,8 @@ Use `isearch-exit' to quit without signaling."
(let ((case-fold-search isearch-case-fold-search))
(isearch-done)
(isearch-clean-overlays)
(if (and (< isearch-other-end (point))
(if (and isearch-other-end
(< isearch-other-end (point))
(not (and transient-mark-mode mark-active
(< isearch-opoint (point)))))
(goto-char isearch-other-end))