emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/with-editor f5a8d96 100/140: with-editor-usage-message: De


From: Jonas Bernoulli
Subject: [nongnu] elpa/with-editor f5a8d96 100/140: with-editor-usage-message: Delay message a little longer
Date: Fri, 6 Aug 2021 12:51:28 -0400 (EDT)

branch: elpa/with-editor
commit f5a8d96d4d521da73541527cba5895a2fe313159
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    with-editor-usage-message: Delay message a little longer
    
    We try to display our message after the one displayed by
    `server-execute', which is run using a timer.  The timer
    starts "immediately" but apparently that takes longer
    than 0.01 seconds, so we now wait five times that long.
---
 with-editor.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/with-editor.el b/with-editor.el
index 906d8e3..a071c55 100644
--- a/with-editor.el
+++ b/with-editor.el
@@ -444,7 +444,7 @@ Don't kill this buffer.  Instead cancel using 
\\[with-editor-cancel]"))))
   ;; Run after `server-execute', which is run using
   ;; a timer which starts immediately.
   (run-with-timer
-   0.01 nil `(lambda ()
+   0.05 nil `(lambda ()
                (with-current-buffer ,(current-buffer)
                  (message (substitute-command-keys "\
 Type \\[with-editor-finish] to finish, \



reply via email to

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