aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-12-14 07:55:50 +0000
committerJuri Linkov2005-12-14 07:55:50 +0000
commitfa81f0107f8aa59f0e41aa24a295ee8abaadd3e7 (patch)
tree4663e42feecc2af6ec2f4ea0659aba084d3a7c95
parente7e4ea210a9fb9a17d3c780161485bf651d30687 (diff)
downloademacs-fa81f0107f8aa59f0e41aa24a295ee8abaadd3e7.tar.gz
emacs-fa81f0107f8aa59f0e41aa24a295ee8abaadd3e7.zip
(isearch-query-replace): Use (mark) instead of
isearch-opoint if mark is active in transient-mark-mode.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/isearch.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0493ee83f37..0843dab7a13 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-12-14 Juri Linkov <juri@jurta.org>
2
3 * isearch.el (isearch-query-replace): Use (mark) instead of
4 isearch-opoint if mark is active in transient-mark-mode.
5
12005-12-14 Aaron S. Hawley <Aaron.Hawley@uvm.edu> 62005-12-14 Aaron S. Hawley <Aaron.Hawley@uvm.edu>
2 7
3 * isearch.el (isearch-query-replace): Check for isearch-other-end. 8 * isearch.el (isearch-query-replace): Check for isearch-other-end.
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."
1227 (if (and isearch-other-end 1227 (if (and isearch-other-end
1228 (< isearch-other-end (point)) 1228 (< isearch-other-end (point))
1229 (not (and transient-mark-mode mark-active 1229 (not (and transient-mark-mode mark-active
1230 (< isearch-opoint (point))))) 1230 (< (mark) (point)))))
1231 (goto-char isearch-other-end)) 1231 (goto-char isearch-other-end))
1232 (set query-replace-from-history-variable 1232 (set query-replace-from-history-variable
1233 (cons isearch-string 1233 (cons isearch-string