diff options
author | Juri Linkov <juri@jurta.org> | 2005-12-14 07:55:50 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2005-12-14 07:55:50 +0000 |
commit | fa81f0107f8aa59f0e41aa24a295ee8abaadd3e7 (patch) | |
tree | 4663e42feecc2af6ec2f4ea0659aba084d3a7c95 /lisp/isearch.el | |
parent | e7e4ea210a9fb9a17d3c780161485bf651d30687 (diff) | |
download | emacs-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.el | 2 |
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 |