* replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
This commit is contained in:
parent
1ddb2ea0f3
commit
201d895a4a
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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 ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue