# HG changeset patch # User Juri Linkov # Date 1134546582 0 # Node ID 72450e5d47ba3890cc859b0c8b5420d969a7e3fb # Parent 5319896d557eae8495165c717cc92322b8c014a5 (isearch-query-replace): Check for isearch-other-end. diff -r 5319896d557e -r 72450e5d47ba lisp/isearch.el --- a/lisp/isearch.el Wed Dec 14 07:48:11 2005 +0000 +++ b/lisp/isearch.el Wed Dec 14 07:49:42 2005 +0000 @@ -1224,7 +1224,8 @@ (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))