]> code.delx.au - gnu-emacs/commitdiff
(isearch-query-replace): Use (mark) instead of
authorJuri Linkov <juri@jurta.org>
Wed, 14 Dec 2005 07:55:50 +0000 (07:55 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 14 Dec 2005 07:55:50 +0000 (07:55 +0000)
isearch-opoint if mark is active in transient-mark-mode.

lisp/ChangeLog
lisp/isearch.el

index 0493ee83f37ecb8258d5c66fff47677b1ce1e998..0843dab7a139489a324339d40c1c11f03a5fb55c 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-14  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-query-replace): Use (mark) instead of
+       isearch-opoint if mark is active in transient-mark-mode.
+
 2005-12-14  Aaron S. Hawley  <Aaron.Hawley@uvm.edu>
 
        * isearch.el (isearch-query-replace): Check for isearch-other-end.
index 6361177a345b62aa0c6a7d54c1f67e92cc051c90..846d749f2f0a3ded63660e6bdcda111a16e1f755 100644 (file)
@@ -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