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

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

[elpa] externals/corfu 9655df1 1/3: corfu--restore-on-next-command: Chec


From: ELPA Syncer
Subject: [elpa] externals/corfu 9655df1 1/3: corfu--restore-on-next-command: Check for corfu-quit and corfu-reset
Date: Thu, 18 Nov 2021 16:57:12 -0500 (EST)

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

    corfu--restore-on-next-command: Check for corfu-quit and corfu-reset
---
 corfu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 574e9b2..b925c7e 100644
--- a/corfu.el
+++ b/corfu.el
@@ -857,7 +857,7 @@ A scroll bar is displayed from LO to LO+BAR."
         (restore (make-symbol "corfu--restore")))
     (fset restore
           (lambda ()
-            (when (eq this-command #'corfu-quit)
+            (when (memq this-command '(corfu-quit corfu-reset))
               (setq this-command #'ignore))
             (remove-hook 'pre-command-hook restore)
             (setq other-window-scroll-buffer other)



reply via email to

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