1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-16 21:20:53 -08:00

Fix xwidget isearch for queries that look like format strings

* lisp/xwidget.el (xwidget-webkit-isearch--update): Give special
treatment to messages.
This commit is contained in:
Po Lu 2021-11-16 09:25:55 +08:00
parent 367cf464a1
commit a17e3976a8

View file

@ -911,8 +911,8 @@ WebKit widget. The query will be set to the contents of
(xwidget-webkit-current-session)
t xwidget-webkit-isearch--is-reverse t))
(let ((message-log-max nil))
(message (concat (propertize "Search contents: " 'face 'minibuffer-prompt)
xwidget-webkit-isearch--string))))
(message "%s" (concat (propertize "Search contents: " 'face 'minibuffer-prompt)
xwidget-webkit-isearch--string))))
(defun xwidget-webkit-isearch-erasing-char (count)
"Erase the last COUNT characters of the current query."