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

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

[elpa] externals/corfu 8b4d5d8 02/11: Simplify corfu--restore-on-next-co


From: Protesilaos Stavrou
Subject: [elpa] externals/corfu 8b4d5d8 02/11: Simplify corfu--restore-on-next-command
Date: Tue, 27 Apr 2021 11:39:06 -0400 (EDT)

branch: externals/corfu
commit 8b4d5d8820f5ba45a7449eaa395e3a211b8fb20f
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    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 ()



reply via email to

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