diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2019-07-15 22:00:33 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2019-07-15 22:00:33 +0200 |
commit | f5a8d96d4d521da73541527cba5895a2fe313159 (patch) | |
tree | 3376e119795d344839620ef2df7c7e0d872056e2 | |
parent | ff23166feb857e3cfee96cb1c9ef416a224a7e20 (diff) |
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.
-rw-r--r-- | with-editor.el | 2 |
1 files changed, 1 insertions, 1 deletions
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, \ |