diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-10 23:11:47 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-12-10 23:11:47 +0100 |
| commit | 76339f0dc31f3ce99dd66198e990b03f448de3de (patch) | |
| tree | 140854eeb847e9592ae30c689c5ff88ce450cd5c | |
| parent | b1d4e2dcfd2d24f23701edfdf9ad1a55f4421348 (diff) | |
Use run-at-time instead of idle timer
| -rw-r--r-- | corfu.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -765,8 +765,8 @@ there hasn't been any input, then quit." (doc (funcall fun cand))) (if (or (eq corfu-echo-documentation t) corfu--echo-message) (corfu--echo-show doc) - (setq corfu--echo-timer (run-with-idle-timer corfu-echo-documentation - nil #'corfu--echo-show doc))) + (setq corfu--echo-timer (run-at-time corfu-echo-documentation + nil #'corfu--echo-show doc))) (when corfu--echo-message (corfu--echo-show ""))))) |
