Commit e7e4ea21 authored by Juri Linkov's avatar Juri Linkov
Browse files

(isearch-query-replace): Check for isearch-other-end.

parent cf717a0d
2005-12-14 Aaron S. Hawley <Aaron.Hawley@uvm.edu>
* isearch.el (isearch-query-replace): Check for isearch-other-end.
2005-12-14 Per Abrahamsen <abraham@dina.kvl.dk> 2005-12-14 Per Abrahamsen <abraham@dina.kvl.dk>
   
* progmodes/cpp.el (cpp-face): New widget. * progmodes/cpp.el (cpp-face): New widget.
......
...@@ -1224,7 +1224,8 @@ Use `isearch-exit' to quit without signaling." ...@@ -1224,7 +1224,8 @@ Use `isearch-exit' to quit without signaling."
(let ((case-fold-search isearch-case-fold-search)) (let ((case-fold-search isearch-case-fold-search))
(isearch-done) (isearch-done)
(isearch-clean-overlays) (isearch-clean-overlays)
(if (and (< isearch-other-end (point)) (if (and isearch-other-end
(< isearch-other-end (point))
(not (and transient-mark-mode mark-active (not (and transient-mark-mode mark-active
(< isearch-opoint (point))))) (< isearch-opoint (point)))))
(goto-char isearch-other-end)) (goto-char isearch-other-end))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment