mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
* replace.el (replace-highlight): Fix lazy-highlighting
for `M-s w str M-% str RET'.
This commit is contained in:
parent
1ddb2ea0f3
commit
201d895a4a
@ -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…
Reference in New Issue
Block a user