mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04: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
|
|
@ -369,6 +369,8 @@ should a regexp."
|
|||
(replace--region-filter
|
||||
(funcall region-extract-function 'bounds)))
|
||||
: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-function (or replace-regexp-function
|
||||
delimited-flag
|
||||
|
|
|
|||
Loading…
Reference in a new issue