From 57f3a1eb009e1127d3fe5739933c95c6fdb84d17 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 24 Oct 2021 22:21:04 +0200 Subject: [PATCH] Display a message if HMTL rendering takes a long time * lisp/net/eww.el (eww-display-html): Display a message if HTML rendering takes a long time (bug#19776). --- lisp/net/eww.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index c24a2c52bee..e0bc17b5a5d 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -694,7 +694,8 @@ The renaming scheme is performed in accordance with (meta . eww-tag-meta) (a . eww-tag-a))))) (erase-buffer) - (shr-insert-document document) + (with-delayed-message 2 "Rendering HTML..." + (shr-insert-document document)) (cond (point (goto-char point)) -- 2.39.5