summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-12-14 07:49:42 +0000
committerJuri Linkov <juri@jurta.org>2005-12-14 07:49:42 +0000
commit19f26811c86130657c1c507c69cdef0f1cefd8bc (patch)
treeb06ef5cd41f26f28d5bf286c9f1e3d959013c657 /lisp/isearch.el
parentdb7dbfcfadd7c35666a7168fa21129119d7fc4a4 (diff)
downloademacs-19f26811c86130657c1c507c69cdef0f1cefd8bc.tar.gz
(isearch-query-replace): Check for isearch-other-end.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el3
1 files changed, 2 insertions, 1 deletions
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))