branch: externals/corfu
commit 9655df15f921058a997dad4b36ae726691e17c2c
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
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)