changeset 67567:4b2351f7912e

(isearch-query-replace): Use (mark) instead of isearch-opoint if mark is active in transient-mark-mode.
author Juri Linkov <juri@jurta.org>
date Wed, 14 Dec 2005 07:54:47 +0000
parents e8e39ab46dd8
children 0253deb9a195
files lisp/isearch.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Wed Dec 14 07:52:22 2005 +0000
+++ b/lisp/isearch.el	Wed Dec 14 07:54:47 2005 +0000
@@ -1227,7 +1227,7 @@
     (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