From a17e3976a8dcbc0eb2034fe3cf62562d8d2494bf Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 16 Nov 2021 09:25:55 +0800 Subject: [PATCH] Fix xwidget isearch for queries that look like format strings * lisp/xwidget.el (xwidget-webkit-isearch--update): Give special treatment to messages. --- lisp/xwidget.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/xwidget.el b/lisp/xwidget.el index 485d995f418..a587fe85dbc 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -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." -- 2.39.2