[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 4a90297 2/2: Do not redisplay during initializa
[elpa] externals/vertico 4a90297 2/2: Do not redisplay during initialization, since this leads to flicker.
Sat, 24 Jul 2021 06:57:23 -0400 (EDT)
Author: Daniel Mendler <firstname.lastname@example.org>
Commit: Daniel Mendler <email@example.com>
Do not redisplay during initialization, since this leads to flicker.
vertico.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vertico.el b/vertico.el
index e9e1edc..2fb69ab 100644
@@ -314,8 +314,8 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
"Recompute candidates given PT, CONTENT, BOUNDS and METADATA."
;; Redisplay the minibuffer such that the input becomes immediately
;; visible before the expensive candidate recomputation is performed (Issue
- ;; XXX Disabled for now, leads to flicker.
+ ;; Do not redisplay during initialization, since this leads to flicker.
+ (when (consp vertico--input) (redisplay))
(pcase-let* ((field (substring content (car bounds) (+ pt (cdr bounds))))
;; `minibuffer-completing-file-name' has been obsoleted by the
(completing-file (eq 'file (completion-metadata-get metadata