summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-06-25 19:54:08 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2021-06-25 19:54:08 +0200
commitc2b619fea0af4bcd4e9a402c8baa937016907fee (patch)
treefa2822d28f956879783b803cce06c66f435061c7
parentabf69969a52ee2943972c0b246298bd5b8db5950 (diff)
Do not check emacs-basic-display
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
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))