branch: externals/corfu
commit 8b4d5d8820f5ba45a7449eaa395e3a211b8fb20f
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Simplify corfu--restore-on-next-command
---
corfu.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/corfu.el b/corfu.el
index c3febe5..cfddd32 100644
--- a/corfu.el
+++ b/corfu.el
@@ -488,7 +488,7 @@ If `line-spacing/=nil' or in text-mode, the background
color is used instead.")
(remove-hook 'pre-command-hook restore)
(setq other-window-scroll-buffer other)
(set-window-configuration config)))
- (run-at-time 0 nil (lambda () (add-hook 'pre-command-hook restore)))))
+ (add-hook 'pre-command-hook restore)))
;; Company support, taken from `company.el', see `company-show-doc-buffer'.
(defun corfu-show-documentation ()