• Juri Linkov's avatar
    (perform-replace): Remove bindings of global · 444697a1
    Juri Linkov authored
    variables isearch-string, isearch-regexp, isearch-case-fold-search.
    Add three new arguments to `replace-highlight'.
    (replace-highlight): Add arguments string, regexp, case-fold.
    Let-bind isearch-string, isearch-regexp, isearch-case-fold-search
    to allow isearch-lazy-highlight-new-loop to use these values
    to set corresponding isearch-lazy-highlight-... internal
    variables whose values lazy highlighting will use regardless of
    changes to global variables isearch-string, isearch-regexp,
    isearch-case-fold-search during lazy highlighting loop.
    (replace-dehighlight): Rename `isearch-lazy-highlight-cleanup'
    to `lazy-highlight-cleanup'.
    444697a1
replace.el 59.9 KB