branch: elpa/with-editor
commit f5a8d96d4d521da73541527cba5895a2fe313159
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
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, \