From 19f26811c86130657c1c507c69cdef0f1cefd8bc Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 14 Dec 2005 07:49:42 +0000 Subject: (isearch-query-replace): Check for isearch-other-end. --- lisp/isearch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/isearch.el') diff --git a/lisp/isearch.el b/lisp/isearch.el index 65fc1f0a394..6361177a345 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -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)) -- cgit v1.2.1