Don't propertize prompt in 'minibuffer--regexp-propertize' (Bug#77497)

* lisp/minibuffer.el (minibuffer--regexp-propertize): Skip prompt
when propertizing user input (Bug#77497).
This commit is contained in:
Martin Rudalics 2025-04-04 09:00:15 +02:00
parent 67c89a675d
commit ae6ac5cad8

View file

@ -5221,7 +5221,7 @@ and `blink-matching-paren' more user-friendly."
(save-excursion
(with-silent-modifications
(remove-text-properties (point-min) (point-max) '(syntax-table nil))
(goto-char (point-min))
(goto-char (minibuffer-prompt-end))
(while (re-search-forward
(rx (| (group "\\\\")
(: "\\" (| (group (in "(){}"))