Commit 201d895a authored by Juri Linkov's avatar Juri Linkov

* replace.el (replace-highlight): Fix lazy-highlighting

for `M-s w str M-% str RET'.
parent 1ddb2ea0
2010-05-20 Juri Linkov <juri@jurta.org>
* replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
2009-12-15 Masatake YAMATO <yamato@redhat.com>
* isearch.el (isearch-yank-word-or-char): Pull next subword
......
......@@ -1980,6 +1980,9 @@ make, or the user didn't cancel the call."
(isearch-regexp regexp)
(search-whitespace-regexp nil)
(isearch-case-fold-search case-fold))
;; Set isearch-word to nil because word-replace is regexp-based,
;; so `isearch-search-fun' should not use `word-search-forward'.
(if (and isearch-word isearch-regexp) (setq isearch-word nil))
(isearch-lazy-highlight-new-loop range-beg range-end))))
(defun replace-dehighlight ()
......
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