emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 57f3a1e 2/2: Display a message if HMTL rendering takes a long tim


From: Lars Ingebrigtsen
Subject: master 57f3a1e 2/2: Display a message if HMTL rendering takes a long time
Date: Sun, 24 Oct 2021 16:21:26 -0400 (EDT)

branch: master
commit 57f3a1eb009e1127d3fe5739933c95c6fdb84d17
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 c24a2c5..e0bc17b 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]