summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-12-14 07:55:50 +0000
committerJuri Linkov <juri@jurta.org>2005-12-14 07:55:50 +0000
commitfa81f0107f8aa59f0e41aa24a295ee8abaadd3e7 (patch)
tree4663e42feecc2af6ec2f4ea0659aba084d3a7c95 /lisp/isearch.el
parente7e4ea210a9fb9a17d3c780161485bf651d30687 (diff)
downloademacs-fa81f0107f8aa59f0e41aa24a295ee8abaadd3e7.tar.gz
(isearch-query-replace): Use (mark) instead of
isearch-opoint if mark is active in transient-mark-mode.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 6361177a345..846d749f2f0 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -1227,7 +1227,7 @@ Use `isearch-exit' to quit without signaling."
(if (and isearch-other-end
(< isearch-other-end (point))
(not (and transient-mark-mode mark-active
- (< isearch-opoint (point)))))
+ (< (mark) (point)))))
(goto-char isearch-other-end))
(set query-replace-from-history-variable
(cons isearch-string