From 3ea70eea98374764313053a72f1fff4df6c39ee1 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 13 Nov 2021 08:30:43 +0800 Subject: [PATCH] Prevent xwidget webkit isearch messages from entering log buffer * lisp/xwidget.el (xwidget-webkit-isearch--update): Prevent logging when displaying search contents message. --- lisp/xwidget.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/xwidget.el b/lisp/xwidget.el index e98143b9559..485d995f418 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -910,8 +910,9 @@ WebKit widget. The query will be set to the contents of (xwidget-webkit-search xwidget-webkit-isearch--string (xwidget-webkit-current-session) t xwidget-webkit-isearch--is-reverse t)) - (message (concat (propertize "Search contents: " 'face 'minibuffer-prompt) - xwidget-webkit-isearch--string))) + (let ((message-log-max nil)) + (message (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