mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
Fix lax whitespace highlight during query-replace
* lisp/replace.el (query-replace-read-args): Add :lax-whitespace to minibuffer-lazy-highlight-setup, so lazy highlight during query-replace respects replace-lax-whitespace and replace-regexp-lax-whitespace (bug#81131). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
2e70b88623
commit
c3babe4b89
1 changed files with 2 additions and 0 deletions
|
|
@ -369,6 +369,8 @@ should a regexp."
|
||||||
(replace--region-filter
|
(replace--region-filter
|
||||||
(funcall region-extract-function 'bounds)))
|
(funcall region-extract-function 'bounds)))
|
||||||
:highlight (and query-replace-lazy-highlight (not no-highlight))
|
:highlight (and query-replace-lazy-highlight (not no-highlight))
|
||||||
|
:lax-whitespace (if regexp-flag replace-regexp-lax-whitespace
|
||||||
|
replace-lax-whitespace)
|
||||||
:regexp regexp-flag
|
:regexp regexp-flag
|
||||||
:regexp-function (or replace-regexp-function
|
:regexp-function (or replace-regexp-function
|
||||||
delimited-flag
|
delimited-flag
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue