diff lisp/isearch.el @ 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 72450e5d47ba
children 627ba9ac2b0f 14a4eb789b45 7beb78bc1f8e
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