branch: externals/corfu commit c2b619fea0af4bcd4e9a402c8baa937016907fee Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Do not check emacs-basic-display --- corfu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corfu.el b/corfu.el index c78411a..b2c70bc 100644 --- a/corfu.el +++ b/corfu.el @@ -697,7 +697,7 @@ Set to nil in order to disable confirmation." (defun corfu--completion-in-region (&rest args) "Corfu completion in region function passing ARGS to `completion--in-region'." - (if (and (not emacs-basic-display) (display-graphic-p)) + (if (display-graphic-p) ;; Prevent restarting the completion. This can happen for example if C-M-/ ;; (`dabbrev-completion') is pressed while the Corfu popup is already open. (if (and completion-in-region-mode (not completion-cycling))